Commit 053f1460 by BellCodeEditor

save project

parent b788e07b
Showing with 2 additions and 3 deletions
......@@ -15,7 +15,7 @@ pen1 = turtle.Pen()
pen1.pensize(50)
pen1.pencolor("red")
len=50
len = int(screen.textinput("爱心大小","请输入你想要的爱心大小:"))
pen1.left(45)
pen1.forward(100*2)
......@@ -26,4 +26,4 @@ pen1.circle(50*2,180)
pen1.forward(100*2)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
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