Commit faf8cd75 by BellCodeEditor

save project

parent 29fefcbd
Showing with 2 additions and 1 deletions
import turtle
pen1=turtle.Pen()
screen=turtle.Screen()
len=screen.textinput("爱心大小","你想要多大的爱心")
len=int(len)
screen.bgcolor("pink")
pen1.penup()
pen1.goto(100,-100)
......@@ -12,7 +14,6 @@ pen.pencolor("red")
pen.begin_fill()
pen.pensize(5)
pen.fillcolor("red")
len=70
pen.left(45)
pen.forward(2*len)
pen.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