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: [78.045, -25.139, -54.869, -85.511, 38.744, 186.095, -2.4, 79.8, 116.69, 134.393]
Student:
[ 0.168 -0.054 -0.118 -0.184  0.083  0.399 -0.005  0.171  0.25   0.288]