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:[98.659, 64.59, 116.239, -26.094, -95.348, -15.975, 176.257]
Solution:
[ 0.31   0.203  0.365 -0.082 -0.3   -0.05   0.554]