docs: 2026-04-21作业
This commit is contained in:
14
2026-04-21/2026-04-21_hw_3.py
Normal file
14
2026-04-21/2026-04-21_hw_3.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from flask import *
|
||||
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
count_p = 0
|
||||
|
||||
@app.route("/<int:score>/")
|
||||
@app.route('/query-score/<int:score>/')
|
||||
def query_score(score):
|
||||
return render_template('2026-04-21_hw_3.html',score=score)
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run()
|
||||
Reference in New Issue
Block a user