View Single Post
Old Jan 21st, 2007, 3:01 PM   #16
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
The arguments in range are (start, end, increment). The first argument is the starting number, the second is the number after the ending number, the third is the increment.

So (0, 526, 15) will go from 0 to 525 in increments of 15. range(4500, 526, 15) won't do anything, since the end (526) is less than the start(4500).
Arevos is offline   Reply With Quote