docs: 2026-04-07作业

This commit is contained in:
2026-04-13 20:03:02 +08:00
parent 5dcc0fcada
commit 2ae54f2f06
10 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
from flask import Flask
app = Flask(__name__)
@app.route("/liuhz1/")
def lhz():
return "哇! 你找到lhz啦! "
app.add_url_rule(rule = "/liuhz2/", view_func= lhz)
def main():
app.run()
if __name__ == "__main__":
main()