Detailed Instructions: 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.
Problem:[112.153, -39.674, 162.298, -10.008, 170.428, -53.036, 97.185, -44.776]
Solution:
[ 0.284 -0.101  0.411 -0.025  0.432 -0.134  0.246 -0.113]