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: [70.099, 87.813, -46.725, 151.763, 104.987, 31.398, 245.818, 158.108, 193.713, 142.36]
Student:
[ 0.062  0.077 -0.041  0.133  0.092  0.028  0.216  0.139  0.17   0.125]