πŸ“Š Python
Q. What will be the output of the following Python expression if x=56.236?
Code:
print("%.2f"%x)
  • (A) 56.236
  • (B) 56.23
  • (C) 56.0000
  • (D) 56.24
πŸ’¬ Discuss
βœ… Correct Answer: (D) 56.24

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
396
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Neha Sharma
Publisher
πŸ“ˆ
80%
Success Rate