Print

String - group of characters in the quotes.
Single quote '   '
Double quote "    "
Paraparenthesis / Brackets (  ) {  }

= Print command :
   We can use single quote / double quote in the string.



 Can not use single quote in single quotes, so can use single quote in double quotes.


 Can not use double quote in double quotes, so can use double quote in single quotes.



 = Escape sequences :

       If we want to use single quote in single quotes or double quote in double quotes. Then use back slash ( \ ) before the quote. 



This is known as escape sequence. Some escape sequences are follows.



  \n  :   For print output on new line use \n




  \t  :   For Tab or for more space




  \b  :   Use for backspace.
              That means if we type Pytthon ( double t ) and want to print Python then use \b for erase unwanted character.



  \\  :   Double slash is used for print Backslash \
  For example print ( " This is Python \" )  In this command we use \ before " quote. Terminal shows error. Therefore if we want to print that slash use double slash \\ 
print ( " This is Python \\" )
     

  Comments  :   Comments are used for writing notes or information such that interpreter ignores this command when compile. Comments are for user which can not read by interpreter. Use # before the line.


  * Escape sequences as Normal Text : 
    If we want to print Escape sequences as Normal Text, use double back slash before it. 

(1) If we want to print " Line A \n Line B " as text.


(2) To print number of back slashes, double it in command.


(3) To print \" or \' , use double back slash before lt.