Exercise: Map function II

Replace double inside map with a lambda function to get the same result.
numbers = [1, 2, 3, 4, 5] def double(x): return x * 2
### adjust here ### result = list(map(double, numbers))
print(result) # expected [2, 4, 6, 8, 10]
Python
Setting up Python environment...
Output