Commit 1799125b by BellCodeEditor

save project

parent ddb7a361
Showing with 1 additions and 1 deletions
...@@ -10,7 +10,7 @@ pen.write("春眠不觉晓,\n处处蚊子咬,\n",font=("Times",30,"normal")) ...@@ -10,7 +10,7 @@ pen.write("春眠不觉晓,\n处处蚊子咬,\n",font=("Times",30,"normal"))
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
len=int(screen.textinput("输入半径大小")) len=int(screen.textinput("hfhueur","输入半径大小"))
pen1.left(45) pen1.left(45)
pen1.forward(len*2) pen1.forward(len*2)
pen1.circle(len,180) pen1.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