Introduction
In Python, it is common to need to execute a function for each element in a list. This can be done using a for
loop, but it can be tedious to write out the loop every time. In this challenge, you will create a function that takes a list and a function as arguments and executes the function for each element in the list.