Oops, try again. Your function fails on purify(). It returns [2, 4, 6, 8] when it should return .
When I run this script in Python IDLE it outputs  correctly for this error, or any other variation I try. When I copy and paste my script into this web site it does not go through. I start my scripts like this all the time, just wondering if I am formatting something wrong? Thanks
#comments are what I run in IDLE, I comment them out in Codecademy before running script. #import random #num = [random.randint(1, 100) for i in range(100)] evens =  def purify(num): for i in range(len(num)): if num[i] % 2 == 0: evens.append(num[i]) return evens #purify(num)