Article on the future of Python

Chris Angelico rosuav at gmail.com
Wed Sep 26 11:18:25 EDT 2012


On Thu, Sep 27, 2012 at 1:08 AM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> for _ in range(-inf, +inf, 1): print(FUD)

That'll never work. Try this:

import itertools
list(map(print,itertools.cycle(('FUD',))))

ChrisA



More information about the Python-list mailing list