The \n digraph forces the print() function to:
- duplicate the character next to the digraph
- break the output line
- stop its execution
- output exactly two characters:
\
andn
Explanation: The digraph, called the newline character, causes the current line to end at the point indicated by the digraph, and creates a new line that starts right after it.
More Questions: Python Essentials 1 – Module 2 Test
Please login or Register to submit your answer