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:[128.101, 16.516, 246.993, 104.335, -69.747, 238.429, -26.383]
Solution:
[ 0.201  0.026  0.387  0.163 -0.109  0.374 -0.041]