SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to convert an existing string to raw string, then we can reassign that like below
s1 = "welcome\tto\tPython" raw_s1 = "%r"%s1 print(raw_s1)
Will print
welcome\tto\tPython