human
Write a function to find cubes of individual elements in a list. Here is a solution in Python: ... Write me a Python program to find cubes of individual elements in a list?
assistant
#Here is Python program to find cubes of individual elements in a list.
 def cube_nums(nums):
 cube_nums = list(map(lambda x: x ** 3, nums))
 return cube_nums