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: [55.491, 24.039, 60.577, -21.389, -76.587, 2.533, 116.557]
Student:
[ 0.344  0.149  0.376 -0.133 -0.475  0.016  0.723]