Tuple vs array in hashtable Python
<p>I have heard that tuple element take low space but can't be modify, so what is the best solution in terms of execution times:</p>

<pre><code>hash = {}
hash['foo'] = [34,'foobar',[55,90]]
hash['foo'][0] = hash['foo'][0] + 17
</code></pre>

<p>OR</p>

<pre><code>hash = {}
hash['foo'] = (34,'foobar',[55,90])
hash['foo'] = (hash['foo'][0] + 17,hash['foo'][1],hash['foo'][2])
</code></pre>
