'is there any python operations like map from javascript?

I am talking about the map array method array1.map(item=> function1(item))

Is there a way to do this in python other than: for i in list1: function1(i)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source