I am currently taking a course in python. When talking about escape sequences they told about "\n"
is used for printing strings in new line. But when it is used in the following ways why I am getting a different output
>>> st = "Hello\nWorld"
>>> st
'Hello\nWorld'
But if I do
>>> print st
Hello
World