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:[176.807, 245.359, 112.141, 29.563, 227.939, 78.234, -11.117, -46.771, 114.109, 184.11]
Solution:
[ 0.159  0.221  0.101  0.027  0.205  0.07  -0.01  -0.042  0.103  0.166]