+ 4
Why this output for the given code? pls. explain me...
2 Antworten
+ 9
When we put r or R before a string it is called raw string...that is why \n is just treated as a normal character it is not treated as new line...
+ 5
In the first line of code r is used to suppress real meaning of escape character \n
Whereas in second line of code escape character works fully normal and takes you to the new line