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:[-29.767, 248.58, -49.879, -88.404, 7.187, -80.995, 67.925]
Solution:
[-0.399 3.33 -0.668 -1.184 0.096 -1.085 0.91 ]