Python: How would I get an average of a set of tuples?
<p>I have a problem I attempting to solve this problem.</p>

<p>I have a function that produces tuples. I attempted to store them in an array in this method</p>

<pre><code>while(loops til exhausted)
    count = 0
    set_of_tuples[count] = function(n,n,n)
    count = count + 1
</code></pre>

<p>apparently python doesn't store variables this way. How can I go about storing a set of tuples in a variable and then averaging them out?</p>
