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:[117.02, -35.063, 104.967, 154.424, -51.405, -40.591, 11.132, 93.645]
Solution:
[ 0.33  -0.099  0.296  0.436 -0.145 -0.115  0.031  0.264]