Escape characters or sequences are illegal characters for Python and never get printed as part of the output. When backslash is used in Python programming, it allows the program to escape the next characters.
Following would be the syntax for an escape sequence
\Escape characterHere, the escape character could be t, n, e, or backslash itself.
Types of Escape Sequence
Escape characters can be classified as non-printable characters when backslash precedes them. The print statements do not print escape characters.
🔗 Read Online
#Python #python_3
➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group