Question
What is the output of the code shown below?'The {} side {1} {2}'.format('bright', 'of', 'life')
Answer: Option A
Was this answer helpful ?
The code shown above results in an error. This is because we have switched from automatic field numbering to manual field numbering, that is, from {} to {1}. Hence this code results in an error.
Was this answer helpful ?
Submit Solution