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:[198.235, 244.432, 178.85, -85.563, -44.715, 70.415, 226.211, 50.404]
Solution:
[ 0.236  0.292  0.213 -0.102 -0.053  0.084  0.27   0.06 ]