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.
why my code did not work? can somebody explain it to me please.
def purify(numbers): new_numbers =  for number in numbers: if number%2 ==0: new_numbers.append[number] return new_numbers