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: [50.754, 225.855, 60.61, 101.416, 217.758, 95.556, 156.129, 228.053, -81.271, -48.996]
Student:
[ 0.05   0.225  0.06   0.101  0.216  0.095  0.155  0.227 -0.081 -0.049]