Commit 2fe61c56 by BellCodeEditor

save project

parent afd5f175
Showing with 7 additions and 4 deletions
...@@ -10,11 +10,13 @@ xxs.hideturtle() ...@@ -10,11 +10,13 @@ xxs.hideturtle()
sb=turtle.Pen() sb=turtle.Pen()
sb.pencolor("red") sb.pencolor("red")
sb.pensize(5) sb.pensize(5)
len=screen.textinput("提示","你想要多大的爱心??????????")
b=int(len)
sb.left(45) sb.left(45)
sb.forward(100) sb.forward(2*b)
sb.circle(50,180) sb.circle(b,180)
sb.right(90) sb.right(90)
sb.circle(50,180) sb.circle(b,180)
sb.forward(100) sb.forward(2*b)
sb.hideturtle() sb.hideturtle()
turtle.done() turtle.done()
\ 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