[Tutor] Looping

Matt HellZFury+Python at gmail.com
Mon Apr 20 15:48:30 CEST 2009


Hey everyone,

First post to this list. I hope I'm doing it right.

Let's say I want to run func 10 times Is there a more pythonic way to do it
than this:
for i in xrange(10):
 func()

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090420/738ec0a0/attachment-0001.htm>


More information about the Tutor mailing list