Open Gotoro opened 2 years ago
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.
def contains_magic_number(list, magic_number):
list
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):
useslist
as one of the parameters, which redefines the default Python list method.