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))
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
C. The sum of 10 and a is c
D. Error
Answer: Option B

Join The Discussion