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:[-32.796, 142.822, 107.353, 224.864, -73.563, 137.258, 220.237, -16.72]
Solution:
[-0.046  0.201  0.151  0.317 -0.104  0.193  0.31  -0.024]