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:[140.697, 123.161, 168.714, -48.448, 232.379, -94.699, -41.034, 235.7]
Solution:
[ 0.196  0.172  0.235 -0.068  0.324 -0.132 -0.057  0.329]