What will be the output of the following Python expression if x=56.236?print('%.2f'%x) - Study24x7
Social learning Network
31 Jan 2024 10:35 AM study24x7 study24x7

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

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles