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:[-12.374, 47.757, 202.543, 99.806, 50.482, 48.832, -81.833, 28.048, 199.851]
Solution:
[-0.021  0.082  0.347  0.171  0.087  0.084 -0.14   0.048  0.343]