Commit 94ab1c97 by BellCodeEditor

save project

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