'hello,\nworld!'hello\nworldpython uses \ to represent line breaks in strings '''helloworld!'''hello\nworldexactly the same it is also important to note that triple quotes are just trick for input the text object created is still standard python string it has no memory of how it was created also note that when python is representing the content of string object (as opposed to printing itit displays new lines as "\