PEP 276 Simple Iterator for ints

Ken Seehof kseehof at neuralintegrator.com
Wed Nov 14 23:27:12 CET 2001


If this was Perl, making an iterator for integers would be perfect.  It
allows
for a minimalist expression regardless of consistency and intuitive appeal
:-)

   for i in 10: print i

- Ken






More information about the Python-list mailing list