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(Style.bold + "Level up!") | ADisplays the text in bold | |
| 2print(Style.italic + "Warning!") | BStyle. | |
| 3A value joined with + to a string to change its text style | CStyle.underline | |
| 4The word after the dot specifying which style to use | DThe style name should not be written in quotation marks | |
| 5print(style.bold + "Warning!") | EDisplays the text in italics | |
| 6print(Style."italic" + "Game Over") | FStyle should start with an uppercase S, not lowercase style |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Style.bold — A value joined to a string with + inside print() to change the text style of the displayed textprint(Style.bold + "Level up!")print(Style.italic + "Warning!")print(Style.bold + "Great job!")print(Style.underline + "Score: 100")print(Style.underline + "Bye!")