from flask import Flask

app = Flask(__name__)
app.config.from_object(__name__)
app.config.update(dict(
    SECRET_KEY='development key',
    USERNAME='admin',
    PASSWORD='default'
))

from flask import Flask

app = Flask(__name__)
app.config.from_object(__name__)
app.config.update(dict(
    SECRET_KEY='development key',
    USERNAME='admin',
    PASSWORD='default'
))


@app.route('/', methods=['GET'])
def front_page():
    return 'Hello, World!'

Add route '/' with Hello World
Add route '/' with Hello World

  from flask import Flask
  
  app = Flask(__name__)
  app.config.from_object(__name__)
  app.config.update(dict(
      SECRET_KEY='development key',
      USERNAME='admin',
      PASSWORD='default'
  ))
  
+ 
+ @app.route('/', methods=['GET'])
+ def front_page():
+     return 'Hello, World!'
+ 
Add route '/' with Hello World
## Code Before:
from flask import Flask

app = Flask(__name__)
app.config.from_object(__name__)
app.config.update(dict(
    SECRET_KEY='development key',
    USERNAME='admin',
    PASSWORD='default'
))

## Instruction:
Add route '/' with Hello World
## Code After:
from flask import Flask

app = Flask(__name__)
app.config.from_object(__name__)
app.config.update(dict(
    SECRET_KEY='development key',
    USERNAME='admin',
    PASSWORD='default'
))


@app.route('/', methods=['GET'])
def front_page():
    return 'Hello, World!'
