Commit a3802791 by BellCodeEditor

save project

parent d76de982
Showing with 8 additions and 6 deletions
......@@ -4,15 +4,16 @@ screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
goto(100,-100)
pen.goto(100,-100)
pen.write("诺依\n这个模块真好用\n我现在学会用",font=("Time",30,"normal"))
pen1=turtle.Pen()
len=30
len=screen.textinput("提示","你想要多大的爱心?")
lovesize=int(len)
pen1.left(45)
pen1.forward(2*len)
pen1.circle(len,180)
pen1.forward(2*lovesize)
pen1.circle(lovesize,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(2*len)
pen1.circle(lovesize,180)
pen1.forward(2*lovesize)
pen1.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