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