I want to insert a new entry into a table, and I get each column value as the index of an array. So when I try to add it I do this:

```py
query = """INSERT INTO table VALUES(?, ?, ?)"""

cursor.execute(query, (data,))

connection.commit()

```

I also have to do the same thing for bigger data lists, so a nicer way than calling data[0], data[1], data[2] would be highly appreciated