What will be the output of the following Python code?
s='{0}, {1}, and {2}'
s.format('hello', 'good', 'morning')
s='{0}, {1}, and {2}'
s.format('hello', 'good', 'morning')A. 'hello good and morning'
B. 'hello, good, morning'
C. 'hello, good, and morning'
D. Error
Answer: Option C

Join The Discussion