Detailed Instructions: 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.
Problem:[218.11, 212.53, 240.693, 81.219, 126.121, 89.346, 49.301, -35.513, 16.367, -2.942]
Solution:
[ 0.219  0.214  0.242  0.082  0.127  0.09   0.05  -0.036  0.016 -0.003]