The following code shows up this error when run.
Error:
INTEGER PRIMARY KEY LadID)""".format(usr))
sqlite3.OperationalError: near "LadID": syntax error
Code:
c.execute("""CREATE TABLE {}
(LadID INTEGER,
foreName TEXT,
surname TEXT,
interests INTEGER,
gender TEXT,
mob INTEGER
INTEGER PRIMARY KEY (LadID))""".format(usr))
What is the solution?