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:[45.173, -23.397, 157.906, 189.393, 198.831, 87.911, 44.961]
Solution:
[ 0.064 -0.033  0.225  0.27   0.284  0.125  0.064]