Control characters are special characters that do not appear on the screen but control the display of output and other functions.
- They do not correspond to a keyboard character and are represented by an escape sequence.
- An escape sequence starts with an escape character, which is the backslash (
\
) in Python.
Common Escape Sequences:
\n
: Newline (starts a new line)\t
: Tab (inserts a tab space)\\
: Backslash (inserts a backslash)\'
: Single quote (inserts a single quote)\"
: Double quote (inserts a double quote)
