Generators for Engineers

A gentle introduction to infinite sequences.

Comments are moderated. It may take a few minutes before your comment appears.
Markdown is supported in your comments.

range(20)[4:16:2]
slice(range(20), 4, 16, 2)
from itertools import islice, count
islice(count(), 4, 16, 2)
Name:
Mail: (not shown)

Please type this: