def prefix_list ( self , prefix , values ) : return list ( map ( lambda value : prefix + " " + value , values ) )
how to add a prefix to a list of strings in python
Add a prefix to a list of values .
def prefix_list(self, prefix, values):
        """
        Add a prefix to a list of values.
        """
        return list(map(lambda value: prefix + " " + value, values))