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.
[42.938, -59.936, 244.957, 244.404, -90.21, -19.658, 76.843, 97.348, 231.875]
A:
[ 0.056 -0.078  0.319  0.318 -0.117 -0.026  0.1    0.127  0.302]