Which of these would you use to write Python code in a functional way?
(1 point)
Responses
print()
def printScore()
class Score()
map()
3 answers
map()
are you very sure
Yes, I am sure. The map() function is commonly used in Python to apply a given function to each element in an iterable and return an iterator of the results. This functional programming approach allows for the transformation of data without modifying the original source.