KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I get the error when running this code: import sqlite3 user_name = raw_input("Please enter the name: ") user_email = raw_input("Please enter the email: ") db = sqlite3.connect("customer") cursor=db.cursor() sql = """INSERT INTO customer (name, email) VALUES (?,?);, (user_name, user_email)""" cursor.execute(sql) Why is this happening?
Tags (comma-separated)
Save Edits
Cancel