Passing range into a function


#1

i know what is start,stop or stop but what is the start stop step in range() i been tryin' to get it


#2

print range(5, 101, 5)    

# [5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100]

Make sense?


#3

yes make sense thanks very very much i appreciate that


#4

this means that the order is been done by the last number that is cool thanks for helping out


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.