I never formally learned Python so there’s a whole list of keywords I don’t know.
List:
andis the logical AND comparison- analogous to
&&for chaining conditionals
- analogous to
oris the logical OR comparison- analogous to
||for chaining conditionals
- analogous to
elifanalogous toelse ifin, checks if an element is inside (contentwise) a wider type or structure, outputs a Boolean value- i.e.,
'name' in arr
- i.e.,
ischecks if two “things” are the same object- basically pointer comparison
- use
==to compare values