Can someone please help me of what is wrong here please?
Oops, try again. Your function fails on purify([4, 5, 5, 4]). It returns [2, 4] when it should return [4, 4].
I have tried filling some numbers in the array number list in the call function brackets but it still doesn’t work
def purify(lst): new_list =  for i in range(1, len(lst)+1): if i % 2 == 0: new_list.append(i) return new_list print purify()