Сделайте массив подряд 2 Python
def makeArrayConsecutive2(statues):
return (max(statues)-min(statues)+1)-len(statues)
Defeated Dotterel
def makeArrayConsecutive2(statues):
return (max(statues)-min(statues)+1)-len(statues)