I don't feel like the code should be doing this, it feels kind of reverse.
So I'm testing for it to be even in line six, but it kept returning odd numbers. I switched it to saying anything true to that( if i % 2:) is now not wanted and the rest is. I feel like it shouldn't work like this. Could anyone explain this to me?
def purify(numbers): n = numbers accepted =  denied =  for i in numbers: if i % 2: denied.append(i) else: accepted.append(i) print accepted return accepted purify([4,5,5,4])