Commit 2ec3071a by BellCodeEditor

save project

parent 28ffc6e7
Showing with 3 additions and 3 deletions
......@@ -5,7 +5,8 @@ s=turtle.Screen()
s.bgcolor("yellow")
pen.write("你好呀",font=("Times",20,"normal"))
p=turtle.Pen()
len1=input("你要多大的心")
len1=s.textinput("提示","你要多大的心")
len=int(len1)
p.left(45)
p.forward(len*2)
......@@ -14,4 +15,4 @@ p.right(90)
p.circle(len,180)
p.forward(len*2)
pen.hideturtle()
turtle.done()
\ No newline at end of file
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