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:[-54.328, -62.494, -81.931, 47.967, 60.179, 8.126, 38.347, -40.685, -27.755, 7.78]
Solution:
[ 0.518  0.596  0.782 -0.458 -0.574 -0.078 -0.366  0.388  0.265 -0.074]