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:[-11.903, 167.855, -9.366, 116.027, -60.673, 68.947, 244.543, 1.179]
Solution:
[-0.023  0.325 -0.018  0.225 -0.117  0.133  0.473  0.002]