python_ref_string_splitlines_2.py:
x
 
txt = "Thank you for the music\nWelcome to the jungle"
x = txt.splitlines(True)
print(x)