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:[-4.151, 144.219, 11.051, -60.734, 177.16, 86.598, -27.897, 60.859]
Solution:
[-0.011  0.373  0.029 -0.157  0.458  0.224 -0.072  0.157]