From 3a75570887a4da69e396366c6e311ae8c8152ee1 Mon Sep 17 00:00:00 2001 From: nono Date: Mon, 12 May 2025 13:18:30 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9A=B0=ED=84=B0=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app.py b/app.py index a21bd0e..3df2d76 100644 --- a/app.py +++ b/app.py @@ -10,5 +10,13 @@ def hello(): return "Hello, World!" # 브라우저에 출력될 텍스트 +@app.route("/challenge") #라우트 추가 +def challenge(): + return "Weekly Challenge" + +@app.route("/user/") +def show_user(username): + return f"안녕하세요, {username}님" + if __name__ == "__main__": app.run(debug=True) # 개발 서버 실행 (디버그 모드)