Commit 8bc4408c by BellCodeEditor

save project

parent 9c6f0c3b
Showing with 7 additions and 5 deletions
import turtle import turtle
len=60
bi = turtle.Pen() bi = turtle.Pen()
bi.pensize(5) bi.pensize(5)
bi.pencolor("red") bi.pencolor("red")
bi.fillcolor("red") bi.fillcolor("red")
bi.begin_fill() bi.begin_fill()
bi.lt(45) bi.lt(45)
bi.fd(100) bi.fd(len*2)
bi.circle(50,180) bi.circle(len,180)
bi.rt(90) bi.rt(90)
bi.circle(50,180) bi.circle(len,180)
bi.fd(100) bi.fd(len*2)
bi.end_fill() bi.end_fill()
bi.penup() bi.penup()
bi.goto(-100,-100) bi.goto(-100,-100)
bi.write("kym",font=("times",30,"normal")) bi.write("kymsb",font=("times",30,"normal"))
bi.hideturtle() bi.hideturtle()
turtle.done() turtle.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