Vidyalelo
Python · Q117

MCQs for Python Strings: Exam

Programming · Python · question 117

Q117

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

A.
The sum of 2 and 10 is 12
B.
The sum of 10 and a is 14
Answer
C.
The sum of 10 and a is c
D.
Error

Answer: Option B

Solution

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