Raspberry based Web Server using Python

i am working a project Raspberry based Web Server using Python its error or not working

i copy the code from this site

i dont know the code is correct check this web and suggest any other code

https://projectiot123.com/2019/01/28/ … ng-python/

app = Flask(__name__)
@app.route(‘/’)
def index():
deturn ‘Hello World’
df __name__==’’__main__’:
dpp.run(debug=True, port = 80,host = ‘0.0.0.0’)

I would be helpful if you add more details around the error.

Did you include : from flask import flask ?