xrange()functions. They usually do the job, but neither is perfect.
xrange()can't deal with numbers larger than the system max integer, while
range()chokes on very long ranges:
If you simply must have numbers larger than
sys.maxint, then you need to use
range()while limiting the length with a