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:[172.384, -88.409, 62.422, 87.39, -11.81, -20.847, 157.14, 121.253, 56.63, 185.073]
Solution:
[ 0.239 -0.123  0.087  0.121 -0.016 -0.029  0.218  0.168  0.079  0.257]