Question
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
Posted under Python
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The output of the code shown below is:
Suggested Topics
Are you eager to expand your knowledge beyond Python? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!