Can anyone think of an algorithm to put all of the addresses between two others and put them in a list (using python)? For example:
findIPs('111.111.111.0', '111.111.111.3')
Should return ('111.111.111.0', '111.111.111.1', '111.111.111.2', '111.111.111.3')
. My main problem arises from when corresponding blocks are identical otherwise I could just use nested for loops with the range function.