Thursday , September 19 2024

The \n digraph forces the print() function to:

Questions BankCategory: Python Essentials 1The \n digraph forces the print() function to:
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: \ and n

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