Detailed Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Problem:[-42.982, 41.294, 125.938, 103.365, -31.442, 209.805, 31.136, 153.335, 96.288]
Solution:
[-0.063  0.06   0.183  0.151 -0.046  0.306  0.045  0.223  0.14 ]