Hi I found the below error messages , what's meaning? please advice me..

Oops, try again. Does your purify function take exactly one argument (a list of numbers)? Your code threw a "'builtin_function_or_method' object has no attribute 'getitem'" error.

def purify(numbers):
    d = []
    for c in numbers:
        if c % 2 == 0:
    return d     



use () instead of []
on "d.append[c]


I thought it's big problem after see error messages.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.