hacer una matriz consecutiva 2 python

def makeArrayConsecutive2(statues):
    return (max(statues)-min(statues)+1)-len(statues)
Defeated Dotterel