Need to find the relative frequencies
<p>Cannot find out why this is not working?:</p>

<pre><code>def frequencies(counts):    
    total = sum(counts)
    frequencies = []    
    for count in counts:
        frequencies.append(float(count/total))    
    return frequencies
</code></pre>

<p>It should take a list of intergers as argument and return a list of relative frequencies. </p>
