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: [93.681, -30.922, 42.714, -18.213, 105.408, -21.286, 180.822, 47.544, -25.027, 31.964]
Student:
[ 0.23  -0.076  0.105 -0.045  0.259 -0.052  0.445  0.117 -0.062  0.079]