title: How to store list in rows of mysql using Python/Flask?
body: <p>I am getting some values from a html form and I am storing these values to a list. List is like:</p>
  
  <pre><code>["string1", "string2", "string3", "string4", "string5"]
  </code></pre>
  
  <p>I want to store these values in rows of mysql but I am confused how to do?</p>
  
  <p>What I did till now is:</p>
  
  <pre><code>descrip = []
  descrip.append(description1)
  descrip.append(description2)
  descrip.append(description3)
  descrip.append(description4)
  descrip.append(description5)
  
  for r in descrp:
      result_descrp = db.execute("""INSERT INTO description(id,description) VALUES (1,%s)""",((descrip))
  
  return render_template('forms/success.html')
  </code></pre>
  
  <p>But I am getting this error:</p>
  
  <p>TypeError: not all arguments converted during string formatting</p>