Commit 33c693fa by BellCodeEditor

save project

parent 0eba1dd5
Showing with 1 additions and 1 deletions
...@@ -9,7 +9,7 @@ pen.hideturtle() ...@@ -9,7 +9,7 @@ pen.hideturtle()
p=turtle.Pen() p=turtle.Pen()
p.pensize(25) p.pensize(25)
p.pencolor("red") p.pencolor("red")
len=screen.textinput("提示","你想要多大的爱心:") len=float(screen.textinput("提示","你想要多大的爱心:"))
p.left(45) p.left(45)
p.forward(2*len) p.forward(2*len)
p.circle(len,180) p.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