• Home
  • What is the output of the following? print('The sum of {0} and {1} is {2}'.format(2, 10, 12))
Question 1:
What is the output of the following?
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

These questions are from this test. Would you like to take a practice test?

Python Quiz 1 | Englishfreetest.com