Page 1 of 1

What will be the output of the following Python expression if x=56.236?

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
print("%.2f"%x)
a) 56.236
b) 56.23
c) 56.0000
d) 56.24