Use the Map pattern to create a function cube_elements that consumes a list of numbers and returns a new list of each number cubed (to the third power). Try running this function on the list [1, 2, 3] This problem has a worked example.

Q&A Education