adplus-dvertising
frame-decoration

Question

What is the output of the code shown below?
'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: (a).Error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the code shown below?