Commit 53614e9e by BellCodeEditor

save project

parent f1c368a1
Showing with 5 additions and 1 deletions
import turtle import turtle
screen=turtle.Screen()
len=screen.textinput("提示","你喜欢多大的")
len=int(ien)
lovesint(len)
#turtle=Screen() #turtle=Screen()
#pen=turtle.Pen() #pen=turtle.Pen()
...@@ -10,7 +14,7 @@ import turtle ...@@ -10,7 +14,7 @@ import turtle
#pen.hideturle() #pen.hideturle()
# turtle.done() # turtle.done()
pen1=turtle.Pen() pen1=turtle.Pen()
len=60
pen1.left(45) pen1.left(45)
pen1.forward(2*len) pen1.forward(2*len)
pen1.circle(len,180) pen1.circle(len,180)
......
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