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.
[24.04, 158.602, -12.706, -60.726, 25.802, 203.521, 165.944, -37.129, 48.405, 22.745]
A:
[ 0.045 0.295 -0.024 -0.113 0.048 0.378 0.308 -0.069 0.09 0.042]