Commit 246b1c72 by BellCodeEditor

save project

parent 9abd9cd9
Showing with 4 additions and 4 deletions
......@@ -4,7 +4,7 @@ import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
A=int(len)
pen=turtle.Pen()
pen.write("你好\n.",font=("Times",30,"normal"))
pen.hideturtle()
......@@ -16,7 +16,7 @@ pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.circle(A,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.circle(A,180)
pen.forward(2*A)
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