Hey I help need with my python project

I’m building a chatbot that recommends songs based on the person’s mood, my plan was to add the songs to a JSON file and print it as a reply along with a sentence. But I cannot seem to add the songs in a new line after writing the sentence.
‘\n’ doesn’t seem to work. Can someone please help me?
Is there a way I can print those in a new line?

How can we help you? Is your problem related to Python at all?

We have no idea what graphic components and GUI framework you are using to display the bubbles. You did not show the relevant part of the code.

For example if the bubbles are HTML-based keep in mind that in HTML it does not matter which and how many whitespace characters you use. They will be treated the same as a single space.