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: [-95.246, -28.468, 225.248, 207.738, 192.665, -84.12, 174.443]
Student:
[-0.161 -0.048  0.38   0.351  0.325 -0.142  0.295]