View Single Post
Old 11-24-2007, 05:12 PM   #3 (permalink)
DarkPrince11
The Wanderer
 
Join Date: Nov 2007
Posts: 12
Thanks: 0
DarkPrince11 is on a distinguished road
Default

Range creates an array of the numbers without and has less overhead than calling a loop. It's basically quicker, but if you're planning on printing the numbers, than it's better to use a for loop, because you'll eventually have to loop the range array to print it out.
Send a message via AIM to DarkPrince11 Send a message via MSN to DarkPrince11
DarkPrince11 is offline  
Reply With Quote