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
product
=
1
list
=
[
1
,
2
,
3
,
4
]
for
num
in
list
:
product
=
product
*
num
# product = 24
Source by book.pythontips.com #
PREVIOUS
NEXT
Tagged:
#map
#python
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit