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.522, 139.814, 135.423, 149.892, 59.542, -8.135]
Solution:
[ 0.096  0.265  0.257  0.284  0.113 -0.015]