adplus-dvertising
frame-decoration

Question

What is the output of the code snippet shown below?
X=”hi”
print(“05d”%X)

a.

00000hi

b.

000hi

c.

hi000

d.

error

Posted under Python

Answer: (d).error

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 code snippet shown below?

Similar Questions

Discover Related MCQs