Commit 1712f885 by BellCodeEditor

save project

parent 73662872
Showing with 6 additions and 5 deletions
...@@ -9,11 +9,13 @@ screen=turtle.Screen() ...@@ -9,11 +9,13 @@ screen=turtle.Screen()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.up() pen1.up()
pen1.goto(0,0) pen1.goto(0,0)
pen1.pendown() pen1.pendocle(len,180)
pen1.righwn()
pen1.pencolor("red") pen1.pencolor("red")
pen1.left(45) pen1.left(45)
pen1.forward(2*len) pen1.forward(2*len)
pen1.cirt(90)
pen1.circle(len,180) pen1.circle(len,180)
pen1.right(90) pen1.forward(2*len)
pen1.circle(len,180) size=int(turtle.textinput("提示1","你想画多大的爱心"))
pen1.forward(2*len) love(size)
\ 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