Q: 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.
[157.276, 9.49, -68.681, 119.267, -91.678, 185.766, -6.971, -84.105, 48.386, -31.459]
A:
[ 0.663 0.04 -0.289 0.503 -0.386 0.783 -0.029 -0.354 0.204 -0.133]