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: [-42.718, -61.413, 230.193, -89.853, -3.451, 63.185, 161.116, 91.354, 178.967, 63.221]
Student:
[-0.072 -0.104  0.39  -0.152 -0.006  0.107  0.273  0.155  0.303  0.107]