What will be the output of the following Python code snippet?
print('The sum of {0} and {1} is {2}'.format(2, 10, 12))
print('The sum of {0} and {1} is {2}'.format(2, 10, 12))A. The sum of 2 and 10 is 12
B. Error
C. The sum of 0 and 1 is 2
D. None of the mentioned
Answer: Option A

Join The Discussion