https://docs.quantifiedcode.com/python-anti-patterns/correctness/else_clause_on_loop_without_a_break_statement.html The method `def contains_magic_number(list, magic_number):` uses `list` as one of the parameters, which redefines the default Python list method.