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: [18.58, 209.45, -20.05, 203.944, -14.158, 211.766, -11.273, 98.935, 186.255, 55.908]
Student:
[ 0.02   0.223 -0.021  0.217 -0.015  0.225 -0.012  0.105  0.198  0.06 ]