Fun with Flags – Part 1: flags and turtles

Step 8 – Turtle challenge 1.1

Now you can draw two-colour flags, it's time for a turtle challenge.

Challenge 1.1 – Two-colour flags

There are several flags which are similar to the Ukrainian flag.

Your challenge is to draw at least one of them.

One of the problems here is that part of the flag is white. And your background is white. One way to solve this problem is to draw a black rectangle without any fill colour to create a border.

Flag of Indonesia Flag of Poland Flag of Monaco Flag of Malta

The flags are, from left to right: Indonesia; Poland; Monaco; and Malta.

For the flag of Malta, don't worry about the cross in the top left corner! That's too hard for now.

You'll need to use the colour names from step 6:

Python colours image

Getting the colours as close to right as you can will be the tricky bit. There are colours called red1, red2, red3 and red4 as well as standard red. These might help with this challenge.

Of course, a white block on a white background doesn't show up brilliantly. You'll learn a way of solving this in Part 2...