Comment on Ask HN: Why does print (0.1 and 0.1 and 0.1 == 0.3) evaluate to False in Python?Comments−edrobap5yExplanation for this behaviour is explained here - https://docs.python.org/3/library/decimal.html−asplake5yFloating point isn't the issue. 'and' is a logical operator here. 0.1 and 0.1 is 0.1.−AlexHerbertOP5yThank you
Comments
Explanation for this behaviour is explained here - https://docs.python.org/3/library/decimal.html
Floating point isn't the issue. 'and' is a logical operator here. 0.1 and 0.1 is 0.1.
Thank you