Vidyalelo
Python · Q9

MCQs for Python Strings: Exam

Programming · Python · question 9

Q9

In Python, which escape sequence is used to represent a newline character?

A.
\n
Answer
B.
\r
C.
\t
D.
\s

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board