concatenating tuple
<p>suppose i have a list  </p>

<pre><code>a=[1,2,3,4,5]  
</code></pre>

<p>now i want to convert this int a tuple<br>
i thought coding something like this will do  </p>

<pre><code>state=()  
for i in a:  
    state=state+i
</code></pre>

<p>and it gave error(well its quite obvious) i am trying to concatinate int with tuple</p>

<p>but tuples doesn't have any functions like insert or append like lists..<br>
so how through looping i can add elements.. same thing with dictionary i feel as if i have a missing link</p>
