Here are some tips when using Python and dealing with lists.
- Use snake_case for list variable names. For more information on coding style in Python, see the PEP 8 style guide here.
- Never call a variable “list”. (If you are using a variable for a list, use something like small_list or big_list — not “list”.) Any word that is not a reserved word and not a built-in data type will work.
…