Commit 2fe61c56 by BellCodeEditor

save project

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