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: [230.539, -4.389, -58.806, 237.35, -38.291, -16.914, 77.336, 15.738, -90.536, 16.146]
Student:
[ 0.626 -0.012 -0.16   0.645 -0.104 -0.046  0.21   0.043 -0.246  0.044]