Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turtle
- t=turtle.Turtle()
- t.speed(1)
- #FIRST SQUARE
- t.fillcolor("lime green")
- t.begin_fill()
- t.forward(100)
- t.left(90)
- t.forward(100)
- t.left(90)
- t.forward(100)
- t.left(90)
- t.forward(100)
- t.end_fill()
- #SECOND SQUARE
- t.fillcolor("red")
- t.begin_fill()
- t.forward(100)
- t.right(90)
- t.forward(100)
- t.right(90)
- t.forward(100)
- t.right(90)
- t.forward(100)
- t.end_fill()
- #FIRST CIRCLE
- t.fillcolor("orange")
- t.up()
- t.right(90)
- t.forward(100)
- t.left(90)
- t.forward(50)
- t.down()
- t.begin_fill()
- t.circle(50)
- t.end_fill()
- #SECOND CIRCLE
- t.fillcolor("cyan")
- t.up()
- t.right(180)
- t.forward(50)
- t.right(90)
- t.forward(100)
- t.left(90)
- t.forward(50)
- t.left(180)
- t.down()
- t.begin_fill()
- t.circle(50)
- t.end_fill()
- #ORANGE'S EARS/FACES
- t.fillcolor("lime green")
- t.up()
- t.forward(50)
- t.left(90)
- t.forward(100)
- t.right(45)
- t.down()
- t.begin_fill()
- t.forward(35)
- t.right(90)
- t.forward(35)
- t.end_fill()
- t.begin_fill()
- t.left(90)
- t.forward(35)
- t.right(90)
- t.forward(35)
- t.end_fill()
- t.right(45)
- t.up()
- t.forward(20)
- t.right(90)
- t.forward(15)
- t.down()
- #ORANGE'S EYES&MOUTH
- t.fillcolor("green")
- t.begin_fill()
- t.forward(25)
- t.left(90)
- t.forward(10)
- t.left(90)
- t.forward(25)
- t.left(90)
- t.forward(10)
- t.end_fill()
- t.up()
- t.left(90)
- t.forward(40)
- t.down()
- t.begin_fill()
- t.forward(25)
- t.left(90)
- t.forward(10)
- t.left(90)
- t.forward(25)
- t.left(90)
- t.forward(10)
- t.end_fill()
- t.up()
- t.left(90)
- t.forward(45)
- t.left(90)
- t.forward(60)
- t.left(90)
- t.forward(27.5)
- t.down()
- t.begin_fill()
- t.left(30)
- t.forward(30)
- t.right(60)
- t.forward(30)
- t.end_fill()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement