python print special character % 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'