Commit b54ffc65 by BellCodeEditor

save project

parent 10f80344
Showing with 6 additions and 4 deletions
...@@ -8,11 +8,12 @@ t.pensize(10) ...@@ -8,11 +8,12 @@ t.pensize(10)
t.pencolor("red") t.pencolor("red")
t.goto(0,0) t.goto(0,0)
t.pendown() t.pendown()
len=int(input("输入半径:"))
t.left(45) t.left(45)
t.forward(100) t.forward(2*len)
t.circle(50,180) t.circle(len,180)
t.right(90) t.right(90)
t.circle(50,180) t.circle(len,180)
t.forward(100) t.forward(2*len)
t.hideturtle() t.hideturtle()
t.done() t.done()
\ 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