Hello, I'm kinda stuck on this task, and can't figure out what's wrong with my code.
I tried several approaches, most of the time I get this Message:
Oops, try again.
Your code looks a bit off--it threw a "list index out of range" error. Check the Hint if you need help!
Here is the latest version of my code:
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] def purify(numbers): pure =  for num in numbers: if num%2!=0: return False else: pure.append(numbers[num]) print purify(numbers)
Thanks in advance!