Vidyalelo
Python · Q64

Python Introduction and basic

Programming · Python · question 64

Q64

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

Answer: Option D

Solution

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