python print show special characters code example
Example: python print show special characters
a = "Hello\tWorld\nHello World"
print(repr(a))
# 'Hello\tWorld\nHello World'
a = "Hello\tWorld\nHello World"
print(repr(a))
# 'Hello\tWorld\nHello World'