Did the strings in the video just get wrapped by the learning environment text editor? If this is just the codecademy learning environment an easy way to check is to view the line numbering (wrapping wouldn’t increase the counter, leaves a blank instead).
Using triple quotes lets you use multiline but the strings you create contain actual newline characters and such since they won’t be escaped like the typical string literal. Text wrapping n the editor is just a visual effect for the sake of the developer, lines aren’t actually broken up.
multiline_str = ''' This is
print(multiline_str) # output now contains those new lines
Out: This is