title: Pass list values to MySQL query using Python
body: <p>I want to pass list values along with other parameter values. following is my scenario. I want to pass multiple values for column "Code" and want to pass single value to "Continent" column.</p>
  
  <pre><code>param = [('AFG', 'IND'),'Asia']
  query = "select * from country where Code in (%s) AND Continent = %s"
  cursor.execute(query,param)
  </code></pre>
  
  <p>while executing in Python, I am getting following error.</p>
  
  <blockquote>
    <p>Failed to execute Query: Failed processing format-parameters; Python
    'tuple' cannot be converted to a MySQL type</p>
  </blockquote>