I have a list in python. Each element in a list will have a lengthy line. my code is printing all element in the list but, since every element are too lengthy its printing each element as whole continues paragraph
I need like: All the element should print one by one. since its too lengthy i can have Horizontal scroll bar. so that i can have one by one. Here's my code
index.html
<html>
<head>
<meta charset="UTF-8">
<title> checking</title>
</head>
<body>
{%for i in Jinja_list %}
{{ i }}
{%endfor%}
</body>
</html>
app.py
@app.route('/',methods=['POST'])
def index():
Jinja_list = ['lenthyyyyy line1',''lenthyyyyy line2',......]
return render_template('index.html',Jinja_list=Jinja_list)
if __name__ == "__main__":
app.run(debug=True, port=5042)
(i need like) output:(as soon as runs the app.py) (in the browser)
lenthyyyyy line1........
lenthyyyyy line2..........
lenthyyyyy line3......
###Since it lenghty how can i have horizontal scroll bar