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: [37.639, 213.114, 103.439, 89.274, -80.715, -60.097, -94.8, 178.102, -30.889, 124.916]
Student:
[ 0.078  0.444  0.216  0.186 -0.168 -0.125 -0.198  0.371 -0.064  0.26 ]