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:[37.22, 79.186, 110.133, -38.22, 245.792, -82.864, 145.019, 51.603, 131.172]
Solution:
[ 0.055  0.117  0.162 -0.056  0.362 -0.122  0.214  0.076  0.193]