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 )___ ( ._> / ~~~~`---'~~~~
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:
Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:
Need some help? Click here to reveal a video walkthrough for this task!
Colour.reseta lot in this one. Try putting one at the end of every single
print()line, so that the next line starts off with the classic white text on a black background. You’ll find it easier to get the colours on each line right that way!
Below is an example of how the program should run: