# Set up your imports here!
# import ...
from flask import Flask
from flask import request

app = Flask(__name__)

@app.route('/')

def index():
    # Welcome Page
    return '<h1> This is the generic page for puppies </h1> '# Create a generic welcome page.

@app.route('/puppy/<name>') # Fill this in!

def puppylatin(name):

    pupname = ' '
    if name[ -1] == 'y':
        pupname = name[: -1] + 'iful'
    else:
        pupname = name + 'y'

    return '<h1> Your puppylatin name is :{}'.format(pupname)

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

373f7708ab9a58141f0382b13a3b28ce939535e4
<mask token>


@app.route('/')
def index():
    return '<h1> This is the generic page for puppies </h1> '


@app.route('/puppy/<name>')
def puppylatin(name):
    pupname = ' '
    if name[-1] == 'y':
        pupname = name[:-1] + 'iful'
    else:
        pupname = name + 'y'
    return '<h1> Your puppylatin name is :{}'.format(pupname)


<mask token>

<mask token>


@app.route('/')
def index():
    return '<h1> This is the generic page for puppies </h1> '


@app.route('/puppy/<name>')
def puppylatin(name):
    pupname = ' '
    if name[-1] == 'y':
        pupname = name[:-1] + 'iful'
    else:
        pupname = name + 'y'
    return '<h1> Your puppylatin name is :{}'.format(pupname)


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

<mask token>
app = Flask(__name__)


@app.route('/')
def index():
    return '<h1> This is the generic page for puppies </h1> '


@app.route('/puppy/<name>')
def puppylatin(name):
    pupname = ' '
    if name[-1] == 'y':
        pupname = name[:-1] + 'iful'
    else:
        pupname = name + 'y'
    return '<h1> Your puppylatin name is :{}'.format(pupname)


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

from flask import Flask
from flask import request
app = Flask(__name__)


@app.route('/')
def index():
    return '<h1> This is the generic page for puppies </h1> '


@app.route('/puppy/<name>')
def puppylatin(name):
    pupname = ' '
    if name[-1] == 'y':
        pupname = name[:-1] + 'iful'
    else:
        pupname = name + 'y'
    return '<h1> Your puppylatin name is :{}'.format(pupname)


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

# Set up your imports here!
# import ...
from flask import Flask
from flask import request

app = Flask(__name__)

@app.route('/')

def index():
    # Welcome Page
    return '<h1> This is the generic page for puppies </h1> '# Create a generic welcome page.

@app.route('/puppy/<name>') # Fill this in!

def puppylatin(name):

    pupname = ' '
    if name[ -1] == 'y':
        pupname = name[: -1] + 'iful'
    else:
        pupname = name + 'y'

    return '<h1> Your puppylatin name is :{}'.format(pupname)

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