Commit 208c0f8b by BellCodeEditor

save project

parent 6ce70e05
Showing with 8 additions and 7 deletions
......@@ -11,15 +11,16 @@ pen1.hideturtle()
pen = turtle.Pen()
pen.pencolor("red")
pen.pensize(3)
pen.fillcolour("red")
pen.bring_fill()
len=screen.textinput("提示","len=?")
lovesize=int(len)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(2*lovesize)
pen.circle(lovesize,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill()
pen.circle(lovesize,180)
pen.forward(2*lovesize)
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