I want to extract the following input text as raw string but for both r''+ string, repr(string) \a,\1 are getting replaced with \x07,\x01. Will appreciate some help
In the Python Raw string, we usually write the word within the quotes, and in addition to it, we add the literal ‘r’ as the prefix to it, and then we assign it to a variable and print that variable.
All the Raw strings must contain the literal ‘r’ at its prefix.
Raw string is created by prefixing a string literal with ‘r’ or ‘R’.