Vidyalelo
Python · Q17

Formatting and Decorators

Programming · Python · question 17

Q17

What will be the output of the following Python expression if X=345? print(“%06d”%X)

A.
345000
B.
000345
Answer
C.
000000345
D.
345000000

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board