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:[242.437, -57.364, 78.471, -62.089, 29.583, 63.253, 215.798, -91.923, -89.937, 19.808]
Solution:
[ 0.697 -0.165  0.225 -0.178  0.085  0.182  0.62  -0.264 -0.258  0.057]