Step 1 – Flags with three stripes
In Part One you drew flags with two horizontal stripes, like the Ukrainian flag.
Lots more flags have three stripes.
Problem – the flag of Lithuania
Remember, the base flag is 180 steps wide and 120 steps tall. If we want three horizontal stripes, each stripe is going to be 40 pixels wide.
The basic colours here are probably:
- the top third is "goldenrod"
- the middle third is "darkgreen"
- the bottom third is "red"
![Code helper image](flags2/f1code.jpg)
- Write code to draw the Lithuanian flag
Use the notes above, the screenshot and the code from the Ukrainian flag to help
- Run your code to test it out
- If it's not quite right the first time, make some changes until you get it right. Use the solution below if you're really stuck
Did you remember to get the turtle pointing in the right direction each time?
An improvement would be to use color("red3") for the bottom third. This is closer to the red in the flag.
Here's a full set of Python turtle colours (opens in a new tab).