Vidyalelo
Python · Q4

Formatting and Decorators

Programming · Python · question 4

Q4

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
Answer
D.
22.20

Answer: Option C

Solution

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