import flask
from flask import * 
import sqlite3
from sqlite3 import * 


app = Flask(__name__)

@app.route("/register",methods=["GET","POST"])
def register():
    if request.method == "GET":
        return render_template("register.html")
    elif request.method == "POST":
        username = request.form["username"]
        password = request.form["password"]
        confirm = request.form["confirm"]
        if confirm == password: 
            conn = sqlite3.connect("shotgun.db")
            c = conn.cursor()
            pswd = hash(password)
            c.execute("INSERT INTO users (username,password) VALUES (?,?)",(username,pswd))
            conn.commit()
            conn.close()

if __name__ == "__main__":
    app.run(debug=True)


will this work In your response, capitalize a few words to stress main points. Please limit the number of words with all capital letters to less than 16.
user