sequence you required example ' want to read bookthis is stringit has been surrounded in single quotes declaring python string string literals in python string literals are surrounded by single quotes or double-quotes ' want to read book" want to read book'you can also surround them with triple quotes (groups of single quotes or double quotes""" want to read book'""" want to read book'"or using backslashes >'thankgood morning sir !'thanksgood morning sir!you cannot start string with single quote and end it with double quote but if you surround string with single quotes and also want to use single quotes as part of the stringyou have to escape it with backslash (\'send message to madam\' son this statement causes syntaxerror'send message to madam' sonyou can also do this with double-quotes if you want to ignore escape sequencesyou can create raw string by using an 'ror 'rprefix with the string common escape sequences\backslash \ linefeed \ horizontal tab \single quotes \double quotes we can assign string to variable