Comment Comment by roberto You can replace your `integers` function with `itertools.count` (same signature but defaults to starting at 0), and `take` with `itertools.islice`. parent roberto 7 years ago