Robotics & Artificial Intelligence

Write short notes on Escape Sequences with reference to Python language.

Getting Started

1 Like

Answer

Escape sequences are some non-graphic characters which are used as commands to direct the cursor while printing. These characters are frequently used in Python codes. An escape sequence character begins with a backslash (\) and it is followed by one or more characters. Some common escape sequences are \t (Horizontal tab), \ (Backslash), \' (Single quote), \" (Double quote), \b (Backspace) and \n (New line feed).

Answered By

3 Likes


Related Questions