'' - & gt; Leaves a line '' - & gt; Leaves a space
The string after resolving escape character is: I Love Geeksforgeeks
But in some cases it is desirable not to allow exits, i.e. the entire unresolved line has
being printed. This is accomplished in the following ways.
Using repr ()
This function returns a string in printable format, i.e. does not allow escape sequences.
The string without repr () is: I Love Geeksforgeeks The string after using repr () is: 'I Love Geeksforgeeks'
Using" R / R "
Adding" r "or" R "to the target line starts repr () for the inner line and stops with escape characters enabled.
The string without r / R is: I Love Geeksforgeeks The string after using r is: I Love Geeksforgeeks The string after using R is: I Love Geeksforgeeks