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:[66.188, 151.001, 57.923, 236.787, -41.478, -17.807, 237.811, 114.777]
Solution:
[ 0.082  0.188  0.072  0.294 -0.052 -0.022  0.295  0.143]