Definition: 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.
Input: [-62.191, 180.908, 233.428, -24.585, 119.296, 151.388, 244.06, 55.144, 145.394]
Output:
[-0.06   0.173  0.224 -0.024  0.114  0.145  0.234  0.053  0.139]