Commit 74afca5e by BellCodeEditor

save project

parent 07858a54
Showing with 13 additions and 0 deletions
import turtle
screen=turtle.Screen()
len=screen.textinput("大小","请输入大小:")
len=int(len)
pen=turtle.Pen()
pen.pencolor("red")
pen.fillcolor("red")
pen.begin_fill()
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.rig
\ 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