reserved words these words have some pre-defined significance in python programming language it should be noted that reserved words may not be used as constants or any other identifier names example of reserved words include ifelseforbreak etc whitespace line containing only whitespacepossibly with commentis known as blank lineand python compiler totally ignores it whitespace is the term used in python to describe blankstabsnewline characters and comments examplenet profit gross profitexpenses whitespace character is not required between net profit and =or between and gross profitalthough we are free to include some to increase readability input and output in python the most fundamental thing in programming language is input to the program and output from the program input in python program is taken using the input(function and the output is displayed using print(function the string which needs to be printed is written in double quotes in print(function the command print("helloworld"hence prints hello world on the screen as shown in the above figures in different software an identifier inside double quotes will be printed by python as the name of the identifier rather than the value of the identifier exampleprint("the total amount is amount"will print "the total amount is amounton the screen but if we need to print the value of the identifierwe need to write identifier name without double quotes exampleif we write print("the total amount is",amount)then the screen will print "the total amount is it should be noted that the string and identifier are concatenated with comma (,it should be noted that the input(function accepts only string data #program to show use of only input(function =input("enter the number"print("the number is", "and class is",type( )in [ ]runfileenter the number the number is and class isexplanationin the above programthe user is asked to enter number using only the input function since the input function only considers string as inputhence it converts all input into strings in the above programthe user enters which is number butthe input function converts it into string hencewhen we will print the data type of "xusing type(functionclass "stris printed the effective use of input function is only when the user wants to enter string data type only this is demonstrated in the following program