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:[8.973, 243.821, 126.122, 138.33, 182.149, -92.017, 224.065, -70.854, -97.543]
Solution:
[ 0.014  0.368  0.19   0.209  0.275 -0.139  0.338 -0.107 -0.147]