<gh_stars>0
#!/usr/bin/python3
"""
    /c/<text>: display “C ”, followed by the value of the text
    variable (replace underscore _ symbols with a space )
"""


from flask import Flask


app = Flask(__name__)


@app.route('/', strict_slashes=False)
def hello_hbnb():
    return 'Hello HBNB!'


@app.route('/hbnb', strict_slashes=False)
def hbnb():
    return 'HBNB!'


@app.route('/c/<text>', strict_slashes=False)
def c_text(text):
    return 'C {}'.format(text.replace('_', ' '))


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

#!/usr/bin/python3
"""
    /c/<text>: display “C ”, followed by the value of the text
    variable (replace underscore _ symbols with a space )
"""


from flask import Flask


app = Flask(__name__)


@app.route('/', strict_slashes=False)
def hello_hbnb():
    return 'Hello HBNB!'


@app.route('/hbnb', strict_slashes=False)
def hbnb():
    return 'HBNB!'


@app.route('/c/<text>', strict_slashes=False)
def c_text(text):
    return 'C {}'.format(text.replace('_', ' '))


if __name__ == "__main__":
    app.run(host='0.0.0.0', port=5000, debug=True)
#!/usr/bin/python3 /c/<text>: display “C ”, followed by the value of the text     variable (replace underscore _ symbols with a space )