Coding Task: 03.03 Rubber Ducky

Let’s try something harder. Changing Colour multiple times on the same line! In the end we’re going to come out with a colourful image of a duck in a pond.

    __
  <(o )___
   ( ._> /
~~~~`---'~~~~

Your Task

In the editor below, complete the code so that the program displays a colourful duck on the screen. See the example section below for what it should look like! Here is your Colour reference sheet:

Requirements

  • The program should run without any errors.
  • The program should display a colourful image of a duck onto the screen. Each part of the duck (e.g. the beak, the pond, the eyes) should have a different Colour.

Example

Below is an example of how the program should run:

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