Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to return a missing element in python

def solution(A):
    return [value for value in range(min(A),max(A)) if value not in A]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #return #missing #element #python
ADD COMMENT
Topic
Name
9+9 =