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

Explanation: Due to floating-point precision errors, the result is `False`.

Explanation by: Mr. Dubey
Due to floating-point precision errors, the result is `False`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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