print('hello,\nworld!'helloworld\ str treated as new line converted into single character len('hello,\nworld!' len(functiongives the length of the object againthe backslash character comes to our rescue if we create string with the sequence "\nthen python interprets this as the single character python can tell us exactly how many characters there are in string the len(function tells us the length of the string in characters there are characters in the string created by 'hello,\nworld!the quotes are not part of the text and the \ becomes single character