4 lines
81 B
Python
4 lines
81 B
Python
numbers = [1,2,3,4,5]
|
|
|
|
result = map(lambda x: x * 2, numbers)
|
|
print(list(result)) |