Car Logos using Python Turtle

Looking at the following code can you explain the purpose of each Python Turtle instructions:

  • myPen.color(“red”)
  • myPen.forward(100)
  • myPen.right(90)
  • myPen.left(45)
  • myPen.penup()
  • myPen.pendown()
  • myPen.goto(0,0)
  • myPen.circle(50)

(X,Y) Coordinates


The canvas we are drawing on (using Python Turtle) is 400 pixels wide by 400 pixels high.
Look at the canvas below to understand how (x,y) coordinates work:

Challenge #1:


Using the instructions mentioned above recreate the following car logos.
Car-Logos

The first one is done for you.

Challenge #2:


Add your own functions to recreate other car logos of your choice or create your own logo.

Share Button
Posted in Computer Science, Python - Beginner, Python Challenges

Our Latest Book