Mise à jour Python Sqlite3

# sqlite3 data update 
deleteInput=int(input("enter delete number for id \n"))
name=input("enter your update query")
conn.execute(f"UPDATE CLIENTS SET Client_Name ='{name}' WHERE generated_id = {deleteInput}")
conn.commit()
conn.close()
Clever Chamois