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:[-10.369, 112.758, 173.393, 61.508, 186.146, -79.974, 116.343, -81.23]
Solution:
[-0.022  0.236  0.362  0.129  0.389 -0.167  0.243 -0.17 ]