Commit 0c5cac51 by BellCodeEditor

save project

parent a39d2d98
Showing with 15 additions and 8 deletions
import turtle
# a=turtle.Pen()
# a.write("kk",font=("Times",40,"normal"))
# a.hideturtle()
# turtle.done()
h=turtle.Screen()
h.bgcolor("yellow")
a=turtle.Pen()
a.penup()
a.goto(90,-90)
a.write("TNT",font=("Times",40,"normal"))
a.hideturtle()
b=turtle.Pen()
b.pencolor("red")
b.pensize(4)
len=30
b.left(45)
b.forward(100)
b.circle(50,180)
b.forward(2*len)
b.circle(len,180)
b.right(90)
b.circle(50,180)
b.forward(100)
b.circle(len,180)
b.forward(2*len)
b.hideturtle()
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