Quick Print – CSKC
Sign In

Search

siteicon
Code Learning #PYTHON#8197 Back

printing quotes slash

Printing characters that are used to form strings like single quote, double quote require special technique of preceding it with backslash character. Same applies for backslash \ itself.

Source Code

		 

Run Output

"Python" is great
'Python' is great
'Python' is great
"Python" is great
Backslash \