map function to list in python code example
Example: map python 3
#generate a list from map iterable with lambda expression
list( map(lambda x: x*2, numeros) )
#generate a list from map iterable with lambda expression
list( map(lambda x: x*2, numeros) )