PEP 276 Simple Iterator for ints

Ken Seehof kseehof at neuralintegrator.com
Wed Nov 14 17:27:12 EST 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