Logical operators don't return boolean values in Python | Dark Hacker News