Commit 01831327 by BellCodeEditor

save project

parent 15929fc3
Showing with 3 additions and 1 deletions
......@@ -3,6 +3,7 @@ import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
# pen.penup()
# pen.goto(0,0)
# pen.write("hello,我叫徐俊亨!",font=("Times",30,"normal"))
......@@ -19,7 +20,8 @@ pen=turtle.Pen()
# pen1.forward(100)
# pen1.hideturtle()
# turtle.done()
len=60
len=screen.textinput("提示","请问您想要多大的爱心?:")
len=int(len)
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
......
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