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:[200.112, 7.726, 244.25, -53.638, 104.886, 214.476, 137.471, -83.127, 22.724, 94.051]
Solution:
[ 0.225  0.009  0.275 -0.06   0.118  0.241  0.155 -0.094  0.026  0.106]