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:[202.479, 178.124, 34.478, 132.562, -77.923, -21.189, 208.422, 174.995, 158.464, 56.396]
Solution:
[ 0.193  0.17   0.033  0.127 -0.074 -0.02   0.199  0.167  0.151  0.054]