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:[-19.846, 151.681, 239.07, 203.001, 96.086, -25.617, 75.318]
Solution:
[-0.028  0.211  0.332  0.282  0.134 -0.036  0.105]