►
Run
x = 'Hello World.\nWelcome!\nPython Tutorial.' result = x.splitlines() print(result)
Output