Common pitfalls and how to avoid them Typical errors in Python include altering a list while looping through it, naming variables after built-ins, and setting mutable objects as default arguments in ...