how to use backslash in python string code example Example: python print single backslash print('\\')