From bb5c27fb8fb1e3153fcd876762e25908353f2d26 Mon Sep 17 00:00:00 2001 From: Tesla369 <56352298+Tesla369@users.noreply.github.com> Date: Wed, 16 Oct 2019 12:16:39 +0530 Subject: [PATCH] Update routes.py --- routes/routes.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/routes/routes.py b/routes/routes.py index 2374c2d..52f7a2b 100644 --- a/routes/routes.py +++ b/routes/routes.py @@ -2,11 +2,20 @@ router = Blueprint("router", __name__) +#Tesla made this @router.route("/check") def check(): return "Congratulations! Your app works. :)" +@router.route("/hello") +def hello(): +return "Hactoberfest is cool!" + @router.route("/add", methods=["POST"]) def add(): + a=int(input("Enter the first number") + b=input("Enter the second number") + c=a+b + print(c) # Add logic here - return \ No newline at end of file + return