sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 11 supplied.
def add_text(text,table_name='text',basename='mainbase'):
connection = dbconnect(basename)
cursor= dbcursor(connection,1)
cursor.execute(f'''INSERT INTO {table_name} text
VALUES(?);''',(text,))
cursor.close()
commit(connection)
close(connection)
cursor.execute(f'''INSERT INTO {table_name}(value)
VALUES(?);''',(text,))
add_text('value')
cursor.execute(f'''INSERT INTO {table_name}(value1, value2, value3)
VALUES(?);''', text)
add_text(('value', 'second', third'))