how to store a range of values in a list python code example Example: python create list from range intList = list(range(r1, r2+1))