Commit 0f00d770 by BellCodeEditor

auto save

parent 3e310769
Showing with 5 additions and 5 deletions
...@@ -12,12 +12,12 @@ pen.goto(100,100) ...@@ -12,12 +12,12 @@ pen.goto(100,100)
pen.pendown() pen.pendown()
pen.pensize(5) pen.pensize(5)
len=screen.textinput("提示","你想要多大的爱心?") len=screen.textinput("提示","你想要多大的爱心?")
lovesize=int(len) l=int(len)
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
pen.forward(2*lovesize) pen.forward(2*l)
pen.circle(lovesize,180) pen.circle(l,180)
pen.right(90) pen.right(90)
pen.circle(lovesize,180) pen.circle(l,180)
pen.forward(2*lovesize) pen.forward(2*l)
turtle.done() 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