# First go in cmd and write pip install flask
# Then Write this Code written below
from flask import Flask # Here we are importing Flask
app = Flask(__name__) # Here We are Creating an app with the help of Flask
@app.route('/') # This Line Create a home page for our website
def helloworld(): # Here We have to create a function/method and don't forget to put it just below it
return 'Hello World' # Here We are returning Hello World to our Home Page
if __name__ == '__main__': # This execute the app
app.run(debug=True) # 'debug=True' means every error should be shown on website
# best while developing website