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: [-51.362, 21.061, 126.246, -23.528, 199.933, 197.299, 43.041, -77.181, 152.722, 166.305]
Student:
[-0.068  0.028  0.167 -0.031  0.265  0.261  0.057 -0.102  0.202  0.22 ]