Exercise 12/15


Hi! I’m running this code but doent’s seems to be right. However, the console isn’t telling me the error. Can you help me? Thx

numeros = [1, 2, 3]

def purify(lista):
lista_pares = []
  for c in lista:
    if c%2 == 0:
  return lista_pares
print purify(numeros)


Missing block indent on that line.


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