Result Size: 625 x 571
demo_ref_string_splitlines.py:
x
 
txt = "Thank you for the music\nWelcome to the jungle"
x = txt.splitlines()
print(x)
C:\Users\My Name>python demo_string_splitlines.py
['Thank you for the music', 'Welcome to the jungle']