I remember people struggling to understand this in college. It's a key moment in getting the concept of expressions.
Python Tip #299 (of 365): Return Boolean expressions directly. 馃У Do this: def is_even(n): return n % 2 == 0 Not this: def is_even(n): if n % 2 == 0: return True else: return False #Python #DailyPythonTip