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