Commit 75c1206d by BellCodeEditor

save project

parent 49f17cfe
Showing with 4 additions and 2 deletions
...@@ -10,12 +10,13 @@ pen.hideturtle() ...@@ -10,12 +10,13 @@ pen.hideturtle()
penl=turtle.Pen() penl=turtle.Pen()
penl.pencolor("red") penl.pencolor("red")
penl.pensize(5) penl.pensize(5)
len=60 len=screen,textinput("提示""你要多大的爱心")
lovesize=int(len)
penl.left(45) penl.left(45)
penl.forward(2*len) penl.forward(2*len)
penl.circle(len,180) penl.circle(len,180)
penl.right(90) penl.right(90)
penl.circle(50,180) penl.circle(len,180)
penl.forward(2*len) penl.forward(2*len)
penl.hideturtle() penl.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