DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python map and filter
lst2 = list(map(lambda x: x+2000, filter(lambda x: x<8000, lst1)))
Source by holypython.com #
PREVIOUS
NEXT
Tagged:
#python
#map
#filter
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit