Commit 61d6d70f by BellCodeEditor

save project

parent 7994666d
Showing with 5 additions and 4 deletions
......@@ -4,14 +4,15 @@ screen.bgcolor("light green")
pen=turtle.Pen()
pen.penup()
pen.hideturtle()
pen.goto(100,10)
pen.write("**,诺依\n你瓜不保熟")
pen.goto(100,-200)
pen.write("**,诺依\n你瓜不保熟",font=("times",30,"normal"))
x=screen.textinput("**大小,你想要多大的瓜")
x=20
a=screen.textinput("瓜瓜大小","你想要多大的瓜")
x=int(a)
pen1=turtle.Pen()
pen1.color("red")
pen1.pensize(10)
pen1.left(45)
pen1.forward(2*x)
pen1.circle(x,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