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:[156.122, 104.58, 14.446, 195.211, -33.798, 247.377, -9.738, -15.105]
Solution:
[ 0.237  0.159  0.022  0.296 -0.051  0.375 -0.015 -0.023]