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.
[0.859, 166.126, -97.978, 248.387, 125.513, 145.165, 60.435, -63.72, -26.785, -21.993]
A:
[ 0.002 0.31 -0.183 0.463 0.234 0.271 0.113 -0.119 -0.05 -0.041]