1
some_list = ['11', '22', '33']
for i in some_list:
    c.execute("INSERT INTO dbtable (dbcolumn) VALUES (?)", (i))

エラーを返します:

sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 2 supplied.

文字に爆発'11'します。

ここで何が問題なのですか?

4

1 に答える 1