Question
print("-%06d"%x)
a.
-000122
b.
000122
c.
–00122
d.
-00122
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. What is the output of this expression if X= -122?
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!