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:[-30.936, -15.724, 209.602, 4.226, 198.108, 120.423, 87.733, -78.769, -81.955, -34.985]
Solution:
[-0.082 -0.042  0.555  0.011  0.524  0.319  0.232 -0.209 -0.217 -0.093]