I am in the process of making a python program which you can enter, edit and delete data using sqlite. i know this is probably a basic issue but when i try to edit data using my variables it comes out with an error saying changename is not a column. Any ideas
def userchange():
search = input("please enter a name to search for")
changename = input("please enter name to change it to")
sql = """UPDATE users SET FirstName = (changename) WHERE FirstName = (search)"""
cursor.execute(sql)
conn.commit()