DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
make array consecutive 2 python
def makeArrayConsecutive2(statues): return (max(statues)-min(statues)+1)-len(statues)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#array
#consecutive
#python
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit