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:[23.156, -68.394, 107.583, 125.301, 200.359, -64.222, 242.263, -34.943, 59.559]
Solution:
[ 0.039 -0.116  0.182  0.212  0.339 -0.109  0.41  -0.059  0.101]