[Type A] Python Revision Tour-1 – Chapter 1
Table of Contents
4. Can non-graphic characters be used and processed in Python? How?
Yes, non-graphic characters can be used and processed in Python. Python supports escape sequences to represent non-graphic characters. For example:
# Using escape sequence to represent non-graphic character
print("This is a tab\tseparated string")
Here, \t
represents a tab character.