Commit 03bfbf1b by BellCodeEditor

save project

parent 45a335c2
Showing with 2 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
len = 50
pen=turtle.Pen()
screen = turtle.Screen()
len=int(screen.textinput("提示","多大爱心?"))
screen.bgcolor("light blue")
pen.penup()
pen.goto(100,0)
......@@ -17,4 +18,3 @@ p.right(90)
p.circle(len,180)
p.forward(2*len)
turtle.done()
len=int(screen.textinpot("提示","多大爱心?"))
\ 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