how to write backslash n in printing in python code example Example: python print single backslash print('\\')