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:[-50.536, 113.865, 132.945, 231.041, 146.965, 226.148, 120.829]
Solution:
[-0.055  0.124  0.144  0.251  0.16   0.245  0.131]