For example, I have a list like this:
list_of_ranges = [range(0,5),range(10,100),range(500,777),range(1337,9001)]
My goal is to have a flattened list that combines all of the range functions. So it should look like this in the end:
[0,1,2,3,4,10,11,12,...,8999,9000]