Commit 06e0d60e by BellCodeEditor

save project

parent 70731307
Showing with 5 additions and 2 deletions
......@@ -6,7 +6,10 @@ screen=turtle.Screen()
screen.bgcolor("pink")
lovesize=screen.textinput("设置","请输入你想画的爱心的大小")
len=int(lovesize)
pen.up()
for i in range(10):
pen1.fd(len)
pen1.left(108)
"""pen.up()
pen.goto(100,-100)
pen.write("谢谢你,诺伊\n祝你\n天天快乐",font=("Times",30,"normal"))
pen.hideturtle()
......@@ -24,6 +27,6 @@ pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.fd(2*len)
pen1.end_fill()
pen1.end_fill()"""
pen1.hideturtle()
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