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:[129.64, 25.684, 88.517, -35.202, -59.727, 62.89, 23.354, 249.04, 118.513]
Solution:
[ 0.215  0.043  0.147 -0.058 -0.099  0.104  0.039  0.413  0.197]