from flask import Flask


app = Flask(__name__)


@app.route('/')
def index():
    return '<h1>Hello Puppy!</h1>'


@app.route('/information')
def info():
    return "<h1>Puppies are cute!</h1>"


@app.route('/puppy/<name>')
def puppy(name):
    return "<h1>This is a page for {}<h1>".format(name)


@app.route('/error/<name>')
def error(name):
    return "100th letter {}".format(name[100])


@app.route('/puppy_latin/<name>')
def puppy_latin(name):
    if name[-1] == 'y':
        name = name[:-1] + 'iful'
    else:
        name = name + 'y'

    return '<h1>{}</h1>'.format(str.capitalize(name))


if __name__ == '__main__':
    app.run(debug=True)

dc4195cf502f4790f6f9c87f364d26c334d28a77
<mask token>


@app.route('/')
def index():
    return '<h1>Hello Puppy!</h1>'


@app.route('/information')
def info():
    return '<h1>Puppies are cute!</h1>'


<mask token>


@app.route('/error/<name>')
def error(name):
    return '100th letter {}'.format(name[100])


@app.route('/puppy_latin/<name>')
def puppy_latin(name):
    if name[-1] == 'y':
        name = name[:-1] + 'iful'
    else:
        name = name + 'y'
    return '<h1>{}</h1>'.format(str.capitalize(name))


<mask token>

<mask token>


@app.route('/')
def index():
    return '<h1>Hello Puppy!</h1>'


@app.route('/information')
def info():
    return '<h1>Puppies are cute!</h1>'


@app.route('/puppy/<name>')
def puppy(name):
    return '<h1>This is a page for {}<h1>'.format(name)


@app.route('/error/<name>')
def error(name):
    return '100th letter {}'.format(name[100])


@app.route('/puppy_latin/<name>')
def puppy_latin(name):
    if name[-1] == 'y':
        name = name[:-1] + 'iful'
    else:
        name = name + 'y'
    return '<h1>{}</h1>'.format(str.capitalize(name))


<mask token>

<mask token>
app = Flask(__name__)


@app.route('/')
def index():
    return '<h1>Hello Puppy!</h1>'


@app.route('/information')
def info():
    return '<h1>Puppies are cute!</h1>'


@app.route('/puppy/<name>')
def puppy(name):
    return '<h1>This is a page for {}<h1>'.format(name)


@app.route('/error/<name>')
def error(name):
    return '100th letter {}'.format(name[100])


@app.route('/puppy_latin/<name>')
def puppy_latin(name):
    if name[-1] == 'y':
        name = name[:-1] + 'iful'
    else:
        name = name + 'y'
    return '<h1>{}</h1>'.format(str.capitalize(name))


if __name__ == '__main__':
    app.run(debug=True)

from flask import Flask
app = Flask(__name__)


@app.route('/')
def index():
    return '<h1>Hello Puppy!</h1>'


@app.route('/information')
def info():
    return '<h1>Puppies are cute!</h1>'


@app.route('/puppy/<name>')
def puppy(name):
    return '<h1>This is a page for {}<h1>'.format(name)


@app.route('/error/<name>')
def error(name):
    return '100th letter {}'.format(name[100])


@app.route('/puppy_latin/<name>')
def puppy_latin(name):
    if name[-1] == 'y':
        name = name[:-1] + 'iful'
    else:
        name = name + 'y'
    return '<h1>{}</h1>'.format(str.capitalize(name))


if __name__ == '__main__':
    app.run(debug=True)

from flask import Flask


app = Flask(__name__)


@app.route('/')
def index():
    return '<h1>Hello Puppy!</h1>'


@app.route('/information')
def info():
    return "<h1>Puppies are cute!</h1>"


@app.route('/puppy/<name>')
def puppy(name):
    return "<h1>This is a page for {}<h1>".format(name)


@app.route('/error/<name>')
def error(name):
    return "100th letter {}".format(name[100])


@app.route('/puppy_latin/<name>')
def puppy_latin(name):
    if name[-1] == 'y':
        name = name[:-1] + 'iful'
    else:
        name = name + 'y'

    return '<h1>{}</h1>'.format(str.capitalize(name))


if __name__ == '__main__':
    app.run(debug=True)
