Intermediate Python Lesson 2: Solution: Investigating Basic Objects
Booleans
yt link
After you've made your predictions, the interactive interpreter provides answers to each of the questions.
Some common mistakes include:
>>> x or 1/0
ZeroDivisionError
>>> y or 1/0
True
The boolean operators short-circuit – operands ...
philipdevblog.hashnode.dev1 min read