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:[216.972, 174.428, 52.655, -65.974, 160.576, 142.356, 160.205, -71.087, 5.784]
Solution:
[ 0.28   0.225  0.068 -0.085  0.207  0.183  0.206 -0.092  0.007]