map`関数を使ってリストを反復処理することができます。
```python
def multiplyByTwo(n):
     return n*2

my_list = [1, 2, 3, 4, 5]

result = map(multiplyByTwo, my_list)
print(list(result))
```
You can iterate over a list using the `map` function, here is an example for your specific case.
```python
def multiplyByTwo(n):
     return n*2

my_list = [1, 2, 3, 4, 5]

result = map(multiplyByTwo, my_list)
print(list(result))
```