Vidyalelo
Python · Q100

MCQs for Python Strings: Exam

Programming · Python · question 100

Q100

What will be the output of the following Python code snippet? print('The sum of 0 and 1 is 2'.format(2, 10, 12))

A.
The sum of 2 and 10 is 12
Answer
B.
Error
C.
The sum of 0 and 1 is 2
D.
None of the mentioned

Answer: Option A

Solution

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