Just making a list for myself of what a Python error says and what it actually means. Feel free to add on...
TypeError: list indices must be integers, not str
means you are adding to the wrong list
SyntaxError: invalid syntax
means you likely forgot terminator e.g. ':' or ')'