Skip to content

Instantly share code, notes, and snippets.

@dalejandroramirez
Created September 14, 2017 02:28
Show Gist options
  • Save dalejandroramirez/94410e8541bc8c08224e8fe6ee440f49 to your computer and use it in GitHub Desktop.
Save dalejandroramirez/94410e8541bc8c08224e8fe6ee440f49 to your computer and use it in GitHub Desktop.
dado un arreglo de enteros dice la cantidad de enteros que estan entre el min y el max del arreglo
def makeArrayConsecutive2(statues):
m=(max(statues)-min(statues)-len(statues)+1)
return(m)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment