What will be the output of the following Python code?
'The {} side {1} {2}'.format('bright', 'of', 'life')
'The {} side {1} {2}'.format('bright', 'of', 'life')A. Error
B. 'The bright side of life'
C. 'The {bright} side {of} {life}'
D. No output
Answer: Option A

Join The Discussion