Question
What is the output of the following?print('The sum of {0} and {1} is {2}'.format(2, 10, 12))
Answer: Option A
Was this answer helpful ?
The arguments passed to the function format can be integers also.
Was this answer helpful ?
Submit Solution