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:[22.383, -84.982, 188.927, 249.291, -0.503, 46.703, -12.449, 120.994]
Solution:
[ 0.042 -0.16   0.356  0.47  -0.001  0.088 -0.023  0.228]