Commit fcd050bb by BellCodeEditor

save project

parent 778cf123
Showing with 6 additions and 4 deletions
import turtle import turtle
long=100
a=turtle.Screen() a=turtle.Screen()
a.bgcolor("lightskyblue") a.bgcolor("lightskyblue")
i=turtle.Pen() i=turtle.Pen()
...@@ -10,10 +11,10 @@ o=turtle.Pen() ...@@ -10,10 +11,10 @@ o=turtle.Pen()
o.left(45) o.left(45)
o.pencolor("red") o.pencolor("red")
o.pensize(5) o.pensize(5)
o.forward(100) o.forward(2*long)
o.circle(50,180) o.circle(long,180)
o.right(90) o.right(90)
o.circle(50,180) o.circle(long,180)
o.forward(100) o.forward(2*long)
o.hideturtle() o.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