# The map function applies a function to every item in a list, # and returns a new list. numbers = [0, -1, 2, 3, -4] def square_func(n): return n*n new_numbers = list(map(square_func, numbers)) #new_numbers: [0, 1, 4, 9, 16]