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.27, 232.221, -77.486, 171.745, 108.296, 222.249, 138.923, 50.449, 178.908, 116.4]
Solution:
[ 0.161  0.171 -0.057  0.126  0.08   0.163  0.102  0.037  0.131  0.086]