(root)/Notes/Notes/notes/python.md RSS

Python

a slow scripting language with batteries included

#stub

python's comparison operators are <, >, ==, <=, >=, !=, is, is not, in, not in --- https://docs.python.org/3/reference/expressions.html#comparisons. all comparison operators can form chained comparisons, so things can get quirky: --- https://youtu.be/G2yPbg2fgQY?t=2285

False == False # True
False in [False] # True
False == False in [False] # True?!