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:[-12.942, 121.463, -83.922, 241.51, -98.638, 202.13, 155.284]
Solution:
[-0.025  0.231 -0.16   0.46  -0.188  0.385  0.296]