Error message :
Oops, try again. Your code looks a bit off--it threw a "'NoneType' object has no attribute 'append'" error. Check the Hint if you need help!
Do i need to put an int() in somewhere, ive tried it everywhere i can think but it doesnt seem to solve the problem.
def purify(lst): new_lst =  for n in lst: if (n % 2) == 0: new_lst = new_lst.append(n) return new_lst