literal is raw data given in variable or constant in pythonthere are various types of literals they are as follows numeric literals string literals boolean literals literal collections numeric literals binary literals decimal literals octal literal hexadecimal literal float literal complex literal program to demonstrate numeric literals #binary literals #decimal literal #octal literal #hexadecimal literal print(abcd#float literal float_ float_ print(float_ float_ #complex literal + print(xx imag, realstring literals string literal is sequence of characters surrounded by quotes we can use both singledoubleor triple quotes for string ='this is pythons ="this is pythons ='''this is python''print( print( print( character literalscharacter literal is single character surrounded by single or double quotes ='ac ="ac =''' ''print(