You will write a program that formats the specfied text to the
screen. A skeleton program is provided for you; download it on
the left. Keep the name of your program as
print_practice.py
. To submit, upload to Canvas.
- Problem 1: Do this with a single print statement on one line.
- Problem 2: Use a format string and the provided variables.
- Problem 3: Use a triple-quoted format string.
- Problem 4: Use a raw string.
This is the output. Yours must match it
exactly. You can download this output in the
text file output.txt
on the left.
Each problem is worth 5 points. Pay careful attention the specifications on the web page! Problem 1: 1 2 3 4 5 Problem 2: 13*14 + 13 = 195 Problem 3: I am 13, Going on 14, here comes teenage angst! Problem 4: This\sentence\is\whacked!