← Back to Printing
Question 84
City And Province
City And Province
Print the declared city and province on two lines of output: on the first line separated by a comma and a space, on the second separated by a space, a dash and a space. Each line is one print call with both variables and a sep= keyword argument; do not build the text with an f-string. Input: none; the values are fixed in the code.
Expected Output:
Oshawa, Ontario Oshawa - Ontario
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Printing
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.