function to check special characters in python 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'