For example, the code below runs well:
import sqlite3 as sq
ft=['Height', 'Weight', 'Skin', 'Face_Shape',]
rose=['five','onekilo','tan','long']
conn=sq.connect('ft.db')
cur=conn.cursor()
cur.execute("CREATE TABLE data(Height char(30), Weight char(30), Skin char(30), Face_Shape char(30))")
cur.execute("INSERT INTO data VALUES(?,?,?,?)",rose)
conn.commit()
I have a list containing two hundred values. How can I create a table with all of them as table columns; and is there an easy way to insert values, instead of writing two hundred "?" placeholders?