Literals are data or value that can be assigned to any identifier and have a fixed value. Python have following literals
(1)String Literals
(2)Numeric Literals
(3)Boolean Literals
(4)Special Literals ‘None’
Literals are data or value that can be assigned to any identifier and have a fixed value. Python have following literals
(1)String Literals
(2)Numeric Literals
(3)Boolean Literals
(4)Special Literals ‘None’