Commit b549b888 by BellCodeEditor

save project

parent 1da85820
Showing with 4 additions and 3 deletions
import turtle
len=60
#len=60
screen=turtle.Screen()
screen.bgcolor("pink")
a=screen.textinput("提示","爱心大小")
len=int(a)
pen=turtle.Pen()
pen.write("ddedgwed\n你好,",font=("Times",50,"normal"))
pen.hideturtle()
......@@ -18,4 +20,4 @@ pen1.right(90)
pen1.circle(len,180)
pen1.forward(2*len)
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