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:[79.05, 173.918, 212.156, 97.371, 128.236, 100.43, -7.858, 170.527]
Solution:
[ 0.083  0.182  0.222  0.102  0.134  0.105 -0.008  0.179]