def f(x=[])) or mutable class attribute — one of Python's most-asked "spot the bug" interview questions.== where is None was intended, or vice versa.for x in list(original):) if the loop body needs to mutate the original.list when a set would make a membership check O(1) instead of O(n).+= in a loop instead of str.join, turning an O(n) operation into O(n²).[lambda: i for i in range(3)]) — every lambda sees the loop variable's final value, not the value at the time it was created.except: swallowing KeyboardInterrupt and SystemExit along with the bug you actually meant to catch.Practice these exact ideas — including the mutable-default gotcha and the closure-in-a-loop trap — as real "predict the output" questions in the code lab. Python's web-framework side is covered separately in Django Fundamentals.