Vidyalelo
Python · Q74

Formatting and Decorators

Programming · Python · question 74

Q74

What will be the output of the following Python expression if x=456? print("%-06d"%x)

A.
000456
B.
456000
C.
456
Answer
D.
error

Answer: Option C

Solution

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