Coding Task: 05.01 Colours in the Flag

Let’s write a little quiz to see how well you know the colours in the Australian Aboriginal flag!

This coding task relates to Question 1 in this lesson’s worksheet. Please complete this question in the worksheet first before attempting this coding task.

Your Task

In the editor, fill in the blanks (________) so that the program correctly follows the flowchart below:

Example

Below is an interactive demo of how the program should run. Play around with the program to see how your program should also behave.

Python Reference Sheet

Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:

Scroll to Top
Scroll to Top