Python Escape Characters

In this blog I will share some Python escape characters.

Let’s begin with “Backslash”. Blackslash inserts a single black slash. I will show you now how the output comes out.

“Single Quote” adds a single quote within a string.

“Tab” adds spaces of 8 characters.

“New Line” takes the cursor to the first position of a new line.

“Carriage Return” takes the cursor to the first position of the same line.

Thanks for reading.

Saket Kumar, Signing off!

--

--