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:[-71.498, -70.608, -3.013, 44.931, 49.536, 49.282, -88.359, -58.374, 247.618, 125.814]
Solution:
[-0.317 -0.313 -0.013  0.199  0.22   0.219 -0.392 -0.259  1.099  0.558]