from functools import reduce

def naturais():
    n = 0
    while True:
        yield n
        n += 1

pares = (x for x in naturais() if x%2 == 0)

