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:[103.286, -45.97, 115.495, 210.558, -96.143, 165.996, -86.865, -78.029]
Solution:
[ 0.358 -0.159  0.401  0.73  -0.333  0.576 -0.301 -0.271]