Boolean in Python
Boolean is True or False — capital T and F. Comparisons create them: 3 > 2 is True. if and while read booleans. Combine with and, or, not. Many values act truthy or falsy inside if: 0, "", [], None are false; most other values are true.
bool(x) converts using those rules. Writing true or false like JavaScript is a NameError. Viva: capital True/False, then one and/or example: True and False → False.
Boolean in Python — output — True, False, True. Empty string is falsy.
Capital T/F — not true/false.