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:[119.701, -39.014, 10.27, 241.294, -1.214, -31.727, 39.62, -21.57, 132.975]
Solution:
[ 0.266 -0.087  0.023  0.536 -0.003 -0.07   0.088 -0.048  0.295]