I am trying to create a software for teachers to manage their students grades (it's a project I chose in my computer class). Sadly I'm failing at SQLite. I created a function but when putting the input from calling the function in, it gives my the error: No such Column: Doe
the code causing this error is:
cur.execute("INSERT INTO students(surname, name, class, teacher) VALUES (?,?,?,?)",
(lname, fname, students_class, class_teacher)) # adding new student
Here is my code: https://pastebin.com/bptb7C0w