DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
função map python
lista = [1, 2, -3, 4, 5, -9] def quadrado(n): return n*n map(quadrado, lista) [1, 4, 9, 16, 25, 81]
Source by wiki.portugal-a-programar.pt #
PREVIOUS
NEXT
Tagged:
#map
#python
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit