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.205, 38.303, 13.941, 96.064, 64.076, -16.375, 130.939, 172.347, 169.935, 40.925]
Solution:
[ 0.165  0.045  0.016  0.113  0.075 -0.019  0.154  0.203  0.2    0.048]