Commit 1ccba7ef by BellCodeEditor

save project

parent 00f725dc
Showing with 3 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen = turtle.Screen()
pen = turtle.bgcolor("light pink")
pen = turtle.Pen() pen = turtle.Pen()
pen.penup pen.penup()
pen.goto(-100,-100) pen.goto(-100,-100)
pen.write("turtle画布\n真好用",font = ("Times",13,"normal")) pen.write("turtle画布\n真好用",font = ("Times",13,"normal"))
pen1 = turtle.Pen() pen1 = turtle.Pen()
...@@ -15,4 +17,3 @@ pen1.circle(50,180) ...@@ -15,4 +17,3 @@ pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.hideturtle() pen1.hideturtle()
turtle.done() turtle.done()
screen dgcolor
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment