What will be the output of the following Python expression if x=56.236?
Posted: Wed Jul 13, 2022 7:44 pm
print("%.2f"%x)
a) 56.236
b) 56.23
c) 56.0000
d) 56.24
a) 56.236
b) 56.23
c) 56.0000
d) 56.24
Accurate answers. Every time.
https://answerhappy.com/