DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to make a list using lambda function in python
res
=
list
(
map
(
lambda
x
:
x
**
2
,
range
(
1
,
101
)
)
)
print
(
res
)
PREVIOUS
NEXT
Tagged:
#list
#lambda
#function
#python
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit