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:[47.884, -11.914, 94.964, 96.552, -77.393, -99.776, 111.271, 54.028, -14.725, -44.039]
Solution:
[ 0.305 -0.076  0.605  0.616 -0.493 -0.636  0.709  0.344 -0.094 -0.281]