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:[106.075, 0.485, 114.206, -89.206, 162.484, -32.062, -28.307, -88.688, -45.272]
Solution:
[ 1.064  0.005  1.145 -0.895  1.629 -0.322 -0.284 -0.889 -0.454]