Your function crashed on  as input because your function throws a "'int' object is not iterable" error.
I dont understand why this doesnt work
This code runs fine on Sumblime text (this is what i use for editing and problem solving before typing into the website.
Is there a difference between the codeacedmy compilers and the ones used from sublimetext?.... I know the code is not elegant (but I am learning as you can guess).
def purify(numbers): count = 1 nocount = 0 if (len(numbers) != 1): for i in numbers: if (i % 2 == 0): return i else: if (numbers % 2 == 0): return count else: return nocount.