Python Shapes using Turtle

Learning Objectives

In this challenge we are going to use x and y coordinates to draw shapes on the screen. We will be using the turtle library to draw on the screen.

X and Y coordinates? Quadrant?


xy-coordinates
Check the above picture. Can you state three facts about X and Y coordinates and about quadrants?

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

Look and test the following code used to draw a “+” shape.

Your task is to tweak this code to draw the following shapes:
PythonShapes

Challenge #2

Look and test the following code used to draw a square using the for loop.

Your task is to tweak this code to draw the following shapes:
PythonShapes2

Extension


Once you have completed all the shapes above you can try this more advanced challenge.

Did you like this challenge?

Click on a star to rate it!

Average rating 3 / 5. Vote count: 11

No votes so far! Be the first to rate this post.

As you found this challenge interesting...

Follow us on social media!

Tagged with: , ,