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:[222.1, 231.883, 27.152, -74.658, -66.25, 31.974, 8.445, 246.245, 53.421]
Solution:
[ 0.326 0.341 0.04 -0.11 -0.097 0.047 0.012 0.362 0.079]