title: Concatenating Tuple
body: <p>Suppose I have a list:  </p>
  
  <pre><code>a=[1,2,3,4,5]  
  </code></pre>
  
  <p>Now I want to convert this list into a tuple. I thought coding something like this would do:  </p>
  
  <pre><code>state=()  
  for i in a:  
      state=state+i
  </code></pre>
  
  <p>and it gave an error. It's quite obvious why, I <em>am</em> trying to concatenate an integer with a tuple.</p>
  
  <p>But tuples don't have the same functions as lists do, like insert or append.
  So how can I add elements through looping? Same thing with dictionaries, I feel as if I have a missing link.</p>