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:[152.216, -49.635, 111.538, -97.416, -14.934, 205.095, 177.243, 216.514, 231.677]
Solution:
[ 0.163 -0.053  0.12  -0.104 -0.016  0.22   0.19   0.232  0.249]