import pymysql
a = (('666', '666', '666', '666'), ('666', '666', '666', '666'))
mydb = pymysql.connect(host="localhost", user="root", passwd="", database='123')
mycursor = mydb.cursor()
f'INSERT INTO 数据
VALUES {a}'
mydb.commit()
print(mycursor.rowcount, "was inserted.")
mydb.close()
哪里出错了,应该怎么解决呢