Commit b1f39c0a by BellCodeEditor

save project

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