numeros = [1, 2, 3, 4] filtro = filter(lambda x: x > 2, numeros) print(list(filtro)) # Saída: [3, 4]