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:[181.013, 141.376, 162.051, 122.356, -4.376, 129.258, -16.5, 55.956]
Solution:
[ 0.235  0.183  0.21   0.159 -0.006  0.168 -0.021  0.073]