Examveda

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

A. 345000

B. 000345

C. 000000345

D. 345000000

Answer: Option B


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators