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:[249.071, -91.776, 179.838, 227.139, 57.96, 171.667, -74.338, 75.385, 29.061, -57.287]
Solution:
[ 0.325 -0.12   0.235  0.296  0.076  0.224 -0.097  0.098  0.038 -0.075]