Commit b91a331a by BellCodeEditor

save project

parent 0caa1b12
Showing with 4 additions and 2 deletions
import turtle import turtle
bi = turtle.Pen() bi = turtle.Pen()
pinmu=turtle.Screen()
bi.pensize(5) bi.pensize(5)
bi.pencolor("red") bi.pencolor("red")
#bi.fillcolor("red") #bi.fillcolor("red")
len=60 len=pinmu.textinput("提示","请输入大小"
int_len = int(len)
bi.lt(45) bi.lt(45)
bi.fd(len*2) bi.fd(len*2)
bi.circle(len,180) bi.circle(int_len,180)
bi.rt(90) bi.rt(90)
bi.circle(len,180) bi.circle(len,180)
bi.fd(len*2) bi.fd(len*2)
......
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