adplus-dvertising
frame-decoration

Question

What is the result of the expression shown below if x=56.236?
print("%.2f"%x)

a.

56.00

b.

56.24

c.

56.23

d.

0056.236

Answer: (b).56.24

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 result of the expression shown below if x=56.236?