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:[12.779, 36.006, -54.773, -3.923, 135.281, 161.872, 2.501, 239.616, 27.723, 204.564]
Solution:
[ 0.017  0.047 -0.072 -0.005  0.178  0.213  0.003  0.315  0.036  0.269]