"James Mills" <[EMAIL PROTECTED]> writes:
> > for x in (2**i for i in xrange(10)):
> >    print x
> This is by far the most concise solution I've seen so far.

print '\n'.join(str(2**i) for i in xrange(10))
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to