HACKER Q&A
📣 AlexHerbert
Why does print (0.1 and 0.1 and 0.1 == 0.3) evaluate to False in Python?
Why does print (0.1 and 0.1 and 0.1 == 0.3) evaluate to False in Python?
👤 edrobap
Accepted Answer ✓
Explanation for this behaviour is explained here -
https://docs.python.org/3/library/decimal.html