Vidyalelo
Python · Q60

Formatting and Decorators

Programming · Python · question 60

Q60

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

A.
56.00
B.
56.24
Answer
C.
56.23
D.
0056.236

Answer: Option B

Solution

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