I never formally learned Python so there’s a whole list of keywords I don’t know.

List:

  • and is the logical AND comparison
    • analogous to && for chaining conditionals
  • or is the logical OR comparison
    • analogous to || for chaining conditionals
  • elif analogous to else if
  • in, checks if an element is inside (contentwise) a wider type or structure, outputs a Boolean value
    • i.e., 'name' in arr
  • is checks if two “things” are the same object
    • basically pointer comparison
    • use == to compare values