Print Function –

This function is used to print something on the screen.

For an example-

If you want to print hello world on the screen then write it in simple way in Python language –

print (“Hello World”)

print (‘Hello World’)

Note : What ever we have to print that has to be written in brackets as “double quotes” or ‘single quotes’.

Why use Quotes –

To join two characters quotes we are use Quotes.

String :-

Collection of characters inside “double quotes” or ‘single quotes’ are called String.

Important Points –

  • You can use single quotes inside double quotes.
  • You can use double quotes inside single quotes.
  • You cannot use double quotes inside double quotes and single quotes inside single quotes.

Also Read- Introduction of Python