return the range of integers of the list python 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))