Purify


#1

Please help me. I’m not getting any kind of error message, but still it doesn’t accept my code.
What could be the problem?


def purify(szamsor):
  uj = []
  for s in szamsor:
    if s%2 == 0:
      uj.append(s)
  return uj

purify([5,3,6,2,10])

#2

can you include a screenshot and the exercise url?


#3

url: https://www.codecademy.com/courses/learn-python/lessons/practice-makes-perfect/exercises/purify?action=lesson_resume


#4

your code is running fine. Perhaps refresh the page?


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.