Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
txt = "Thank you for the music\nWelcome to the jungle" x = txt.splitlines(True) print(x)
['Thank you for the music\n', 'Welcome to the jungle']