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:[124.524, 120.863, 61.153, 147.575, -4.541, 182.223, -95.912, -17.376, 3.612, -73.962]
Solution:
[ 0.278  0.27   0.136  0.329 -0.01   0.407 -0.214 -0.039  0.008 -0.165]