Coding Task: 03.01 Colour a Rainbow

White text on a black background looks pretty boring. Let’s add some Colour!

Your Task

In the editor below, complete the code so that the program displays RAINBOW 7 times on the screen in a curve. See the example section below for what it should look like!

Python Reference Sheet

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


  • The program should run without any errors.
  • The program should display the text RAINBOW onto the screen in a curve. Each RAINBOW should have a different Colour.
  • Hint: Double check the Colour, Highlight and Style options available in the screenshot above, and make sure each of those words are capitalised in your code! Colours like red, blue and green are not capitalised though. Be careful!


Below is an example of how the program should run:

Scroll to Top