from flask import Flask
app=Flask(__name__)

@app.route('/')
def index():
    return 'Type /puppy_latin/<name> to see your name in latin'

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


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


c04b513bba90b46dc80bf9eca56b531496a21915
<mask token>


@app.route('/')
def index():
    return 'Type /puppy_latin/<name> to see your name in latin'


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


<mask token>

<mask token>


@app.route('/')
def index():
    return 'Type /puppy_latin/<name> to see your name in latin'


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


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

<mask token>
app = Flask(__name__)


@app.route('/')
def index():
    return 'Type /puppy_latin/<name> to see your name in latin'


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


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

from flask import Flask
app = Flask(__name__)


@app.route('/')
def index():
    return 'Type /puppy_latin/<name> to see your name in latin'


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


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

from flask import Flask
app=Flask(__name__)

@app.route('/')
def index():
    return 'Type /puppy_latin/<name> to see your name in latin'

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


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

