Commit e995c632 by BellCodeEditor

save project

parent a35cb8a2
Showing with 6 additions and 1 deletions
...@@ -4,8 +4,10 @@ import turtle ...@@ -4,8 +4,10 @@ import turtle
#len=screen.textinput("100","100") #len=screen.textinput("100","100")
#len=int(len) #len=int(len)
# pen.penup()
# pen.goto(-100,100)
pen=turtle.Pen() pen=turtle.Pen()
# npen.write("你好\nSB.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
#pen.penup() #pen.penup()
...@@ -19,4 +21,7 @@ pen.circle(len,180) ...@@ -19,4 +21,7 @@ pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(len,180) pen.circle(len,180)
pen.forward(2*len) pen.forward(2*len)
pen.penup()
pen.goto(100,-100)
pen.write("你好",font=("Times",30,"normal"))
turtle.done() turtle.done()
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