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!

--

--

Saket Kumar's Blog
Saket Kumar's Blog

Written by Saket Kumar's Blog

I’m Saket Kumar, believe in learning by doing, and am currently involved in exploring some independent projects around photography, blogging, and storytelling.

No responses yet