Commit 5c2440af by BellCodeEditor

save project

parent 9dfed3c1
Showing with 7 additions and 5 deletions
......@@ -5,17 +5,18 @@ screen.bgcolor("light blue")
pen.penup()
pen.goto(200,-100)
pen.write("114514\nboynextdoor",font=("Time",'30',"normal"))
len=screen.textinput("提示","多大的爱心?")
lovesize=int(len)
pen.hideturtle()
pena=turtle.Pen()
pena.speed(1)
pena.pencolor("red")
pena.pensize(5)
pena.left(45)
len=input("半径")
pena.forward(2*len)
pena.circle(len,180)
pena.forward(2*lovesize)
pena.circle(lovesize,180)
pena.right(90)
pena.circle(len,180)
pena.forward(2*len)
pena.circle(lovesize,180)
pena.forward(2*lovesize)
pena.hideturtle()
turtle.done()
\ No newline at end of file
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