I have been writing a small program for data entry and have been very frustrated because of a simple error. I am unable to figure it out. The Query is as follows:
query1= """
'INSERT INTO general_demographic
(serial_number,district,mprpmu,ward,telephone,name,age,occupation,education)
VALUES(?,?,?,?,?,?,?,?,?)',
(str(SerialNumber.get()),
str(District.get()),
str(mprmmu.get()),
str(ward.get()),
str(telephone.get()),
str(name.get()),
str(age.get()),
str(occupation.get()),
str(c.get()))
"""
The error displayed is shown in the figure below: error