title: How do I remove quotes from tuples and then store them as a tuple
body: <p>So i am trying to make a SQL Statement which needs to print the data in the order I specify. But I need to this for more than two tuples so I tried to make a function for it.I was able to get the column names from the information_schema table and stored them as a tuple.So I stored them as a list like below:</p>
  
  <pre><code>get="Select %s,%s,%s from table"
  tup=['ID', 'Name', 'Work']
  Cursor.execute(get,tuple(tup))
  for i in Cursor:
    print(i)
  </code></pre>
  
  <p>But when I ran this, I found out that the elements from list were going along with the quotes which then just printed the column names.I tried to remove them by using the code below but was still getting errors:</p>
  
  <pre><code>get="Select %s,%s,%s from table"
  tup=['ID', 'Name', 'Work']
  tup2=tup[0]+","+tup[1]+","+tup[2]
  Cursor.execute(get,tuple(tup2,))
  for i in Cursor:
      print(i)
  </code></pre>
  
  <p>The above code was showing not enough parameters error.
  Please give any suggestions</p>