adplus-dvertising
frame-decoration

Question

What is the output of this expression if x=22.19?
print("%5.2f"%x)

a.

22.1900

b.

22.00000

c.

22.19

d.

22.20

Answer: (c).22.19

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this expression if x=22.19?