how to use the range function to create a list in python# code example
Example 1: python create list from range
intList = list(range(r1, r2+1))
Example 2: python range from n to 0
range(N, -1, -1) is better
intList = list(range(r1, r2+1))
range(N, -1, -1) is better