python find special characters in string 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'