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.
[18.088, 235.846, -55.818, 65.711, 48.08, -17.787, 90.143, -23.669, 107.644, 155.118]
A:
[ 0.029  0.378 -0.09   0.105  0.077 -0.029  0.145 -0.038  0.173  0.249]