DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
map in python
items = [1, 2, 3, 4, 5] squared = list(map(lambda x: x**2, items))
Source by book.pythontips.com #
PREVIOUS
NEXT
Tagged:
#map
#python
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit