Qus : What is the output of the following code? print(len("Python\nProgramming"))
Qusनिम्नलिखित कोड का आउटपुट क्या है? print(len("Python\nProgramming"))
A. 19 B. 18
C. 17 D. Error
Solution
B. 18
Explanation
<p>hear '\n' is treated as 1 character and is known as escape sequence character</p>