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: [45.815, 51.811, 234.941, -82.513, 218.431, 98.143, 156.414, 114.523, -68.373, 194.841]
Student:
[ 0.048  0.054  0.244 -0.086  0.227  0.102  0.162  0.119 -0.071  0.202]