Commit c201af35 by BellCodeEditor

save project

parent c6259c3b
Showing with 3 additions and 2 deletions
......@@ -11,14 +11,15 @@ pen.penup()
pen.goto(0,100)
pen.pendown()
pen.pensize(5)
l=50
ls=screen.textinput("写","你想要多大的爱心")
l=int(ls)
pen.pencolor("red")
pen.left(45)
pen.forward(2*l)
pen.circle(l,180)
pen.right(90)
pen.circle(l,180)
pen.forward(100)
pen.forward(2*l)
pen.color('red')
pen.hideturtle()
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