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: [179.502, 189.39, 10.297, 90.254, 212.926, 106.771, 184.855, 189.551, -66.164, 184.936]
Student:
[ 0.14   0.148  0.008  0.07   0.166  0.083  0.144  0.148 -0.052  0.144]