DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
map function using lambda in python
# Map function nums1 = [2,3,5,6,76,4,3,2] sq = list(map(lambda a : a*a, nums1)) print(sq)
Source by www.geeksforgeeks.org #
PREVIOUS
NEXT
Tagged:
#map
#function
#lambda
#python
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit