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:[9.89, 89.642, -61.864, 134.954, 58.473, -17.585, -66.868, 144.49, 1.454, 153.781]
Solution:
[ 0.022  0.201 -0.139  0.302  0.131 -0.039 -0.15   0.324  0.003  0.345]