Commit 352e664c by BellCodeEditor

save project

parent 5bced3a8
Showing with 1 additions and 1 deletions
...@@ -7,7 +7,7 @@ turtle.goto(0,0) ...@@ -7,7 +7,7 @@ turtle.goto(0,0)
turtle.pendown() turtle.pendown()
turtle.pensize(30) turtle.pensize(30)
turtle.pencolor('red') turtle.pencolor('red')
len=int(input('半径长度:')) len=int(turtle.textinput('提示','半径长度:'))
turtle.left(45) turtle.left(45)
turtle.forward(2*len) turtle.forward(2*len)
turtle.circle(len,180) turtle.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