<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generateAmplitudes(k):

 """Makes mixing coefficients"""

    res = np.array([np.random.random() for i in range(k)])
    return res/res.sum()