Question
a.
‘There are %g %d birds.’ %4 %blue
b.
‘There are %d %s birds.’ %(4, blue)
c.
‘There are %s %d birds.’ %[4, blue]
d.
‘There are %d %s birds.’ 4, blue
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 which of the codes shown below will be: “There are 4 blue birds.”?
Similar Questions
Discover Related MCQs
Q. Which of the following formatting options can be used in order to add ‘n’ blank spaces after a given string ‘S’?
View solution
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!