title: Python list | How to remove parenthesis,quotes and commas in my list?
body: <p>From my database, I'm returning a list to be displayed into my HTML page but my list has this unwanted symbols. I tried using <code>split()</code> function but it wont work. How can I remove those parenthesis,commas and quotes. Thanks for you help</p>
  
  <p><strong>The output is :</strong> </p>
  
  <pre><code>[('cenomar',), ('cedula',), ('Birth Certificate',), ('Clearance',)]
  </code></pre>
  
  <p><strong>I want:</strong></p>
  
  <pre><code> [cenomar, cedula, Birth Certificate, Clearance]
  </code></pre>
  
  <p><strong>Here is my python function:</strong></p>
  
  <pre><code> @app.route('/')
      def search():
          conn=psycopg2.connect("dbname='forms' user='postgres' password='everboy' 
         host='localhost' port='5432'")
         cur=conn.cursor()
         cur.execute("SELECT name from form")
         rows=cur.fetchall()
         print(rows)
         return render_template("form.html",rows=rows)
  </code></pre>