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:[232.282, 24.918, 116.876, -3.393, -79.617, 5.368, 164.212, 90.44, -36.433]
Solution:
[ 0.451  0.048  0.227 -0.007 -0.155  0.01   0.319  0.176 -0.071]