create list of numbers python range code example
Example 1: array of 1 to 100 python
myList = list(range(1, 101))
Example 2: python create list from range
intList = list(range(r1, r2+1))
myList = list(range(1, 101))
intList = list(range(r1, r2+1))