DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+9 =
Submit