Examveda
Examveda

What will be the output of the following Python expression if x=56.236?
print("%.2f"%x)

A. 56.236

B. 56.23

C. 56.0000

D. 56.24

Answer: Option D


This Question Belongs to Python Program >> Introduction To Python

Join The Discussion

Related Questions on Introduction to Python