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>
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad