Commit b1f39c0a by BellCodeEditor

save project

parent 4d766c3a
Showing with 9 additions and 12 deletions
import turtle
screen=turtle.Screen()
len=60
pen=turtle.Pen()
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.left(45)
pen1.forward(len*2)
len1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(len*2)
pen1.hideturtle()
len=screen.textinput("100","100")
len=int(len)
pen.left(45)
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(len*2)
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