Q: 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.
[50.179, 216.447, 214.28, 98.054, 150.37, 62.454, 173.728, -20.656]
A:
[ 0.053  0.229  0.227  0.104  0.159  0.066  0.184 -0.022]