print("%.2f"%x)
a) 56.236
b) 56.23
c) 56.0000
d) 56.24
What will be the output of the following Python expression if x=56.236?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following Python expression if x=56.236?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!