I am using this code to make all elements of a list on per line:

```
ans = [multiplayer_msg, rockstar_msg, reddead_msg, crashbandicoot_msg, splitscreen_msg, codemasters_msg, wildewesten_msg, sports_msg, voor18_msg, september_msg] 
#strings

ans = ("\n""\n" "- ".join(ans))

```

The \n should do it on another line but when I run this, it looks like this:

[https://i.gyazo.com/231ce7d25951af57f380019e3db9ded2.png](https://i.stack.imgur.com/IxNgx.png)

How do I make the list elements show up one per line?

EDIT:

I am using www.pythonanywhere.com with Flask

This is my python code which "connects" to the html code:

```
return render_template("quizrezult_page.html", ans=ans)

```

And this is my html code:

```
<span>{{ ans }}</span>

```