from euler import fibs print sum(n for n in fibs(4000000) if not n & 1)
from euler import fibs, number_digits print next(i for i, n in enumerate(fibs()) if number_digits(n) == 1000)