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: [16.18, 237.235, 174.811, -72.072, 119.414, 153.52, 102.289, 20.551]
Student:
[ 0.022  0.316  0.232 -0.096  0.159  0.204  0.136  0.027]