Commit b8f1d752 by BellCodeEditor

save project

parent cb9a189f
Showing with 2 additions and 1 deletions
......@@ -3,6 +3,8 @@ import turtle
screen=turtle.Screen()
screen.bgcolor("orange")
lovesize=screen.textinput("提示","你想画多大的爱心呀?")
len=int(lovesize)
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
......@@ -10,7 +12,6 @@ pen.goto(100,-100)
pen.write("诺依,\nturtle真好用,\n我会在画布上字啦!",font=("Times",13,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
len=50
pen1.left(45)
pen1.forward(2*len)
pen1.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