Last updated 4 years ago
Was this helpful?
def even_numbers(arr, n): return list(filter(lambda e: e % 2 == 0, arr))[-n::]