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:[123.019, 231.402, 24.658, -74.919, 26.98, 8.826, -91.467, -67.542, -37.717, 11.519]
Solution:
[ 0.795  1.495  0.159 -0.484  0.174  0.057 -0.591 -0.436 -0.244  0.074]