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:[-8.178, 166.153, -27.247, -97.512, 75.554, 78.269, 174.344, 244.017, 144.633, -39.927]
Solution:
[-0.012  0.234 -0.038 -0.137  0.106  0.11   0.246  0.344  0.204 -0.056]