Report Bug

QusWhat 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>
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad