def cube_nums(nums): cube_nums = list(map(lambda x: x ** 3, nums)) return cube_nums