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:[-34.138, 105.751, 12.163, 52.823, 94.237, 234.407]
Solution:
[-0.073  0.227  0.026  0.114  0.203  0.504]