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:[11.893, 122.938, -45.515, -59.484, 12.016, 148.604, -47.662, -94.215, 161.234, 195.023]
Solution:
[ 0.029  0.304 -0.112 -0.147  0.03   0.367 -0.118 -0.233  0.398  0.482]