DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
filter function using lambda in python
#filter function nums1 = [2,3,5,6,76,4,3,2] bads = list(filter(lambda x: x>4, nums1)) print(bads)
PREVIOUS
NEXT
Tagged:
#filter
#function
#lambda
#python
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit