Commit 5aa6999d by BellCodeEditor

save project

parent e771e58c
Showing with 10 additions and 2 deletions
#利用write()帮助悟空给诺依回信吧~
import turtle
a=turtle.Pen()
b=float(input("输入大小:"))
a.circle(b)
b=turtle.Screen()
c=b.textinput("提示","输入半径")
a.left(135)
a.forward(2*float(c))
a.circle(-float(c),180)
a.left(90)
a.circle(-float(c),180)
a.forward(2*float(c))
a.hideturtle()
turtle.done()
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