Commit fbee80d3 by BellCodeEditor

save project

parent 4e5c06c4
Showing with 2 additions and 2 deletions
......@@ -2,13 +2,13 @@ import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
len=60
length=screen.textinput("询问","想要多大的爱心?")
len=int(length)
pen.lt(45)
pen.fd(len*2)
pen.circle(len,180)
pen.rt(90)
pen.circle(len,180)
pen.fd(len*2)
len-=20
pen.hideturtle()
turtle.done()
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