title: How to populate user input strings to sqlite
body: <p>I have this code that simply creates a list from user input. I want to load this into sqlite Db instead of list shown but am not conversant with Sqlite. please help
  HERE IS THE CODE</p>
  
  <pre><code>listQ = []
  while True:
      read = input("Type in a line. ").lower().split()
      for item in read:
          listQ.append( input("Type in a line. ") )
      for line in listQ:
          import sqlite3
          conn = sqlite3.connect('/C/project/new/sqlite_file.db')
          c = conn.cursor()
          for item in listQ:
          c.execute('insert into tablename values (?,?,?)', item)
          #print(line)
  </code></pre>