Examveda
Examveda

What will be the output of the following Python expression if x=22.19?
print("%5.2f"%x)

A. 22.1900

B. 22.00000

C. 22.19

D. 22.20

Answer: Option C


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators