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:[-31.623, 92.757, 179.325, 157.977, 214.753, 74.604, -10.693]
Solution:
[-0.047  0.137  0.265  0.233  0.317  0.11  -0.016]