#!/usr/bin/python3
"""Script that """
from flask import Flask

app = Flask(__name__)


@app.route('/', strict_slashes=False)
def hello():
    """function that return message"""
    return 'Hello HBNB!'


@app.route('/hbnb', strict_slashes=False)
def HBNB():
    """function that return message in route /hbnb"""
    return 'HBNB'


@app.route('/c/<text>', strict_slashes=False)
def c_message(text):
    """function that return message in route /c/
    with variable inside"""
    string = text
    string = string.replace('_', ' ')
    return "C {}".format(string)


@app.route("/python/", defaults={"text": "is cool"})
@app.route("/python/<text>")
def python_message(text):
    """Function that send the message with the defaul value"""
    text = text.replace('_', ' ')
    return "Python {}".format(text)


if __name__ == "__main__":
    app.run(host='0.0.0.0', port=5000)

fb2233de1f98a408ddc1f4e43e5684ce590cdb32
<mask token>


@app.route('/', strict_slashes=False)
def hello():
    """function that return message"""
    return 'Hello HBNB!'


@app.route('/hbnb', strict_slashes=False)
def HBNB():
    """function that return message in route /hbnb"""
    return 'HBNB'


<mask token>


@app.route('/python/', defaults={'text': 'is cool'})
@app.route('/python/<text>')
def python_message(text):
    """Function that send the message with the defaul value"""
    text = text.replace('_', ' ')
    return 'Python {}'.format(text)


<mask token>

<mask token>


@app.route('/', strict_slashes=False)
def hello():
    """function that return message"""
    return 'Hello HBNB!'


@app.route('/hbnb', strict_slashes=False)
def HBNB():
    """function that return message in route /hbnb"""
    return 'HBNB'


@app.route('/c/<text>', strict_slashes=False)
def c_message(text):
    """function that return message in route /c/
    with variable inside"""
    string = text
    string = string.replace('_', ' ')
    return 'C {}'.format(string)


@app.route('/python/', defaults={'text': 'is cool'})
@app.route('/python/<text>')
def python_message(text):
    """Function that send the message with the defaul value"""
    text = text.replace('_', ' ')
    return 'Python {}'.format(text)


if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)

<mask token>
app = Flask(__name__)


@app.route('/', strict_slashes=False)
def hello():
    """function that return message"""
    return 'Hello HBNB!'


@app.route('/hbnb', strict_slashes=False)
def HBNB():
    """function that return message in route /hbnb"""
    return 'HBNB'


@app.route('/c/<text>', strict_slashes=False)
def c_message(text):
    """function that return message in route /c/
    with variable inside"""
    string = text
    string = string.replace('_', ' ')
    return 'C {}'.format(string)


@app.route('/python/', defaults={'text': 'is cool'})
@app.route('/python/<text>')
def python_message(text):
    """Function that send the message with the defaul value"""
    text = text.replace('_', ' ')
    return 'Python {}'.format(text)


if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)

<mask token>
from flask import Flask
app = Flask(__name__)


@app.route('/', strict_slashes=False)
def hello():
    """function that return message"""
    return 'Hello HBNB!'


@app.route('/hbnb', strict_slashes=False)
def HBNB():
    """function that return message in route /hbnb"""
    return 'HBNB'


@app.route('/c/<text>', strict_slashes=False)
def c_message(text):
    """function that return message in route /c/
    with variable inside"""
    string = text
    string = string.replace('_', ' ')
    return 'C {}'.format(string)


@app.route('/python/', defaults={'text': 'is cool'})
@app.route('/python/<text>')
def python_message(text):
    """Function that send the message with the defaul value"""
    text = text.replace('_', ' ')
    return 'Python {}'.format(text)


if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)

#!/usr/bin/python3
"""Script that """
from flask import Flask

app = Flask(__name__)


@app.route('/', strict_slashes=False)
def hello():
    """function that return message"""
    return 'Hello HBNB!'


@app.route('/hbnb', strict_slashes=False)
def HBNB():
    """function that return message in route /hbnb"""
    return 'HBNB'


@app.route('/c/<text>', strict_slashes=False)
def c_message(text):
    """function that return message in route /c/
    with variable inside"""
    string = text
    string = string.replace('_', ' ')
    return "C {}".format(string)


@app.route("/python/", defaults={"text": "is cool"})
@app.route("/python/<text>")
def python_message(text):
    """Function that send the message with the defaul value"""
    text = text.replace('_', ' ')
    return "Python {}".format(text)


if __name__ == "__main__":
    app.run(host='0.0.0.0', port=5000)
