Teacher: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.
Teacher: Now, understand the problem? Solve this instance: [131.975, -49.623, 63.125, -4.727, 124.075, -64.642, 87.898, 109.118, -84.418, 42.509]
Student:
[ 0.371 -0.14 0.178 -0.013 0.349 -0.182 0.247 0.307 -0.238 0.12 ]