SyntaxFix
Write A Post
Hire A Developer
Questions
A hacky way of printing a backslash that doesn't involve escaping is to pass its character code to chr:
chr
>>> print(chr(92)) \