Added a website that is made with the help of Flask

This commit is contained in:
Muhammad Ibrahim 2024-12-01 16:08:26 +05:30
parent 370cc50d3d
commit 944bcecf4c

View File

@ -0,0 +1,15 @@
from flask import Flask
app = Flask(__name__)
print(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
@app.route('/bye')
def say_bye():
return "bye"
if __name__ == "__main__":
app.run()