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:[170.513, -87.132, 236.327, -82.285, 78.138, -77.051, 30.132]
Solution:
[ 0.635 -0.324  0.88  -0.306  0.291 -0.287  0.112]