Commit f660a586 by BellCodeEditor

save project

parent 09576bad
Showing with 6 additions and 5 deletions
len=60
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
...@@ -6,10 +7,10 @@ pen.write("......",font=("Times",30,"normal")) ...@@ -6,10 +7,10 @@ pen.write("......",font=("Times",30,"normal"))
pen.penup() pen.penup()
pen.goto(100,100) pen.goto(100,100)
pen.pendown() pen.pendown()
pen.left(45) pen.left(60)
pen.forward(100) pen.forward(len*2)
pen.circle(50,180) pen.circle(60,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(60,180)
pen.forward(100) pen.forward(len*2)
turtle.done() turtle.done()
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