title: How to remove the last comma from tuples?
body: <p>How can I remove the comma from each tuple in the list.<br />
  I want to make a list of tuples from one list like this:</p>
  <pre><code>l = [1,2,3,5,4]
  
  l1 = [ ]
  
  l2 =  [ ]
  
  for i in l:
  
      l1.append (i)
      t = tuple(l1)
      l2.append(t)
      l1 = []
  
  print l2
  </code></pre>
  <p>Expected result:</p>
  <pre><code>[(1), (2), (3), (5), (4)]
  </code></pre>
  <p>Real result:</p>
  <pre><code>[(1,), (2,), (3,), (5,), (4,)]
  </code></pre>