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:[110.509, 122.621, -51.344, -42.879, 74.409, 106.538, -16.18, 105.122, 223.261, 246.416]
Solution:
[ 0.126  0.14  -0.058 -0.049  0.085  0.121 -0.018  0.12   0.254  0.281]