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