Commit ce385b8d by BellCodeEditor

save project

parent 86ec6371
Showing with 14 additions and 1 deletions
import turtle
pen=turtle.Pen()
pen1=turtle.Pen()
pen2=turtle.Pen()
pen2.pencolor("pink")
pen2.pensize(3)
screen=turtle.Screen()
screen.bgcolor("light blue")
pen1.penup()
......@@ -16,5 +19,15 @@ pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.hideturtle()
for i in range(5):
# pen2.goto(random(0,300),random(0,200))
#pen2.penup()
pen2.goto(i * 10 + 20, i * 10 + 30)
pen2.left(45)
pen2.forward(50)
pen2.circle(25,180)
pen2.right(90)
pen2.circle(25,180)
pen2.forward(50)
pen2.hideturtle()
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