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:[-27.834, 134.016, 190.255, 245.482, 242.808, -10.091, 230.941, 41.678, 13.719]
Solution:
[-0.026  0.126  0.179  0.231  0.229 -0.01   0.218  0.039  0.013]