map(function, sequence) calls function(item) for each of the sequence's items and returns a list of the return values.
docs.python.org