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:[219.676, 44.288, 31.31, 119.186, 85.603, -38.234, 118.82, 206.839, -62.774]
Solution:
[ 0.303  0.061  0.043  0.164  0.118 -0.053  0.164  0.285 -0.087]