Commit f6815748 by BellCodeEditor

save project

parent ccea27ff
Showing with 2 additions and 1 deletions
...@@ -15,7 +15,8 @@ pen1.pencolor("red") ...@@ -15,7 +15,8 @@ pen1.pencolor("red")
# pen1.penup() # pen1.penup()
# pen1.goto()(100,-100) # pen1.goto()(100,-100)
pen1.pendown() pen1.pendown()
len=60 a=screen.textinput("显示","画多大的爱心")
len=float(a)
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