What does the def line do in python
<p>What does the second to last line do here? It doesn't seem to be assigning a variable, printing or anything but I've tried breaking the code in various ways and the line <code>doublelist(somelist)</code> seems to be necessary but I don't know why.</p>

<pre><code>def doubleList(list):
    i=0
    while i&lt;len(list):
        list[i]=list[i]*2
        i=i+1

someList=[34,72,96]
doubleList(someList)
print someList
</code></pre>
