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:[59.683, -0.64, 167.635, 98.494, 147.94, -26.348, -58.941]
Solution:
[ 0.154 -0.002  0.432  0.254  0.381 -0.068 -0.152]