Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1print(Colour.red + Highlight.yellow + Style.bold + "Go!") | ADisplays italic blue text with no highlight | |
| 2print(Colour.blue + Style.italic + "Stop!") | BStyle should start with an uppercase S, not lowercase style | |
| 3Joining multiple dot-notation values with + before the string | C+ | |
| 4The symbol used to chain each effect together, including the final string | DCombining Colour, Highlight and Style | |
| 5print(Colour.blue, Style.italic + "Stop!") | EDisplays bold red text with a yellow highlight | |
| 6print(Colour.red + style.bold + "Danger") | FCombined effects should be joined with +, not a comma |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Colour.red + Highlight.yellow + Style.bold — Joining multiple dot-notation values together with + to apply colour, highlight, and style all at onceprint(Colour.red + Highlight.yellow + Style.bold + "Level up!")print(Colour.red + Highlight.yellow + Style.bold + "Level up!")print(Colour.blue + Style.italic + "Warning!")print(Colour.green + Highlight.pink + Style.underline + "Great job!")print(Colour.gold + Style.bold + "Score: 100")