Commit 14b0564e by BellCodeEditor

save project

parent 07858a54
Showing with 16 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
len=screen.textinput("提示","输入⚪的半径")
len=int(len)
pen.fillcolor("red")
pen.begin_fill()
pen.left(45)
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(len*2)
pen.end_fill()
pen.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