Q. What will be the output of the following Python expression if x=56.236?
Code:
print("%.2f"%x)
β
Correct Answer: (D)
56.24
print("%.2f"%x)
You must be Logged in to update hint/solution