Commit 94ab1c97 by BellCodeEditor

save project

parent 82c8e8ab
Showing with 7 additions and 5 deletions
import turtle
bi = turtle.Pen()
pinmu = turtle.Screen()
bi.pensize(5)
bi.pencolor("red")
len = 60
len = pinmu.textinput("提示","请输入大小")
int_len = int(len)
bi.lt(45)
bi.fd(2*len)
bi.circle(len,180)
bi.fd(2*int_len)
bi.circle(int_len,180)
bi.rt(90)
bi.circle(len,180)
bi.fd(len*2)
bi.circle(int_len,180)
bi.fd(int_len*2)
bi.penup()
bi.goto(-100,-100)
bi.write("SB",font=("Times",30,"normal"))
......
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