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.

>>> data_list = range(10)
>>> for datum in data_list:
...     print datum,
0 1 2 3 4 5 6 7 8 9
Name:
Mail: (not shown)

Please type this: