mardi 29 décembre 2020

How can i make the text in my web server change line

Hey i did a small project to display text on a web server but for some reason all the text is on the same line and i don't know how to change it.

code:

from flask import Flask

app = Flask(__name__)

@app.route("/")
def main():
    return """fxfxzvxczxcvxvzx
cxzvxczxcvcxvfdsvxz"""

if __name__ == "__main__":
    app.run(debug=True, host="127.0.0.1", port=5050) ```



Aucun commentaire:

Enregistrer un commentaire