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:[50.695, 115.408, 135.868, 86.52, -61.885, -36.603, 84.048, -1.02, 147.266]
Solution:
[ 0.097  0.222  0.261  0.166 -0.119 -0.07   0.162 -0.002  0.283]