Drawing flags using Python Turtle

In this challenge we will use Python Turtle to draw a range of flags on screen.

First, you will need to investigate the code used to create three different flags:

France Sweden Czech Republic

To understand these code snippets you need to understand how to position the turtle (pen) on the screen using (x,y) coordinates. The following two templates will help you understand coordinates and be useful to help you design the algorithm to draw your own flags.

Python Code

Here is the code for our first three flags.

FranceSwedenCzech Republic

France


Sweden


Czech Republic


Your Turn

You can edit the trinkets above to recreate your own selection of flags. Here are some flags you could try to reproduce:

Chad

Luxembourg

Columbia

Iceland

Jamaica

Ghana

Turkey

Tanzania

Cuba

Did you like this challenge?

Click on a star to rate it!

Average rating 3.2 / 5. Vote count: 179

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

As you found this challenge interesting...

Follow us on social media!

Tagged with: