print(r’Python\n is the \n best’)
Here why is that r used in the braces?
Doubt in a concept
Hey @vageesha,
By using r, it tells Python that it is a raw string and it treats backslash () as a literal character. This is useful when we want to have a string that contains backslash and don’t want it to be treated as an escape character. You can see the difference here --> Link
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.