πŸ“Š Python
Q. What will be the output of `print(0.1 + 0.2 == 0.3)`?
  • (A) True
  • (B) False
  • (C) Error
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (B) False

Explanation: Due to floating-point precision, `0.1 + 0.2` is not exactly `0.3`.

Explanation by: Mr. Dubey
Due to floating-point precision, `0.1 + 0.2` is not exactly `0.3`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
57
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate