number.range

number.range(number)

Generate a list containing 0 to number - 1. If number is less than 1 the list will be empty. For example, number.range(5) results in the list [0, 1, 2, 3, 4].

Was this page helpful? Yes No Submitting... Thank you

Comments