diff --git a/app/main.py b/app/main.py index ad5d845..f4cc5e6 100644 --- a/app/main.py +++ b/app/main.py @@ -7,6 +7,24 @@ app = Flask(__name__) +@app.route('/') +def return_hello(): + return f""" +

Welcome

+
+

Greetings

+ """ + + +@app.route('/') +def return_hello_with_name(name: str = "Ramprasath M K"): + return f""" +

Welcome

+
+

Hi, {name}

+ """ + + @app.route('/') def return_backwards_string(random_string): return "".join(reversed(random_string))