adplus-dvertising
frame-decoration

Question

What is the output of the following expression if X=345?
print(ā€œ%06dā€%X)

a.

345000

b.

000345

c.

000000345

d.

345000000

Posted under Python

Answer: (b).000345

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 following expression if X=345?

Similar Questions

Discover Related MCQs