Commit 70ba38ea by BellCodeEditor

save project

parent df7888ea
Showing with 7 additions and 5 deletions
......@@ -7,13 +7,15 @@ import turtle
screen=turtle.Screen()
screen.bgcolor("green")
hide.turtle()
len=90
len=screen.textinput("提示","你要献多大的爱心啊")
lovesize1=int(len)
lovesize1=90
pen1=turtle.Pen()
pen1.left(45)
pen1.forword(2*len)
pen1.circle(len,180)
pen1.forword(2*lovesize1)
pen1.circle(lovesize1,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forword(2*len)
pen1.circle(lovesize1,180)
pen1.forword(2*lovesize1)
turtle.done()
pen1.goto(100,-100)
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