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.076, 135.947, -96.302, 215.754, 10.319, -96.56]
Solution:
[ 0.228  0.62  -0.439  0.984  0.047 -0.44 ]