When I write print(\'\\\') or print(\"\\\") or print(\"\'\\\'\"), Python doesn\'t print the backslash \\ symbol. Instead
print(\'\\\')
print(\"\\\")
print(\"\'\\\'\")
\\
A hacky way of printing a backslash that doesn't involve escaping is to pass its character code to chr:
chr
>>> print(chr(92)) \