This is more of a math question than Python, but if I have a range 0-100, how would I go about iterating through all the possible ranges in this? For example, the lower bound could be 0, and then the upper could be anything from 1-100 and so on.
Would something like this cover all possibilities?
lower = 0
upper = 100
for i in range(0,100):
for z in range(lower,upper):
print("Range is" + str(z) +":" + str(upper))
lower = lower +1
upper = upper -1