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.005, 193.047, -50.47, -43.94, 161.01, 90.782, -19.188, 80.538, 149.252, 43.731]
Solution:
[ 0.076  0.295 -0.077 -0.067  0.246  0.139 -0.029  0.123  0.228  0.067]