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:[8.064, 227.161, 67.004, 145.503, 131.199, 88.484, 36.012, -27.429]
Solution:
[ 0.012  0.336  0.099  0.215  0.194  0.131  0.053 -0.041]