Commit 485c1bde by BellCodeEditor

save project

parent f0e5cb1b
Showing with 1 additions and 2 deletions
......@@ -10,8 +10,7 @@ pen.hideturtle()
pen1 = turtle.Pen()
pen1.pensize(5)
pen1.pencolor("red")
a=screen.textinput("提示","话多大的爱心?")
len=float(a)
len=random.randint(10,100)
pen1.left(45)
pen1.forward(2*len)
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