3. What are literals in Python ? How many types of literals are allowed in Python ?
Literals are data items that have a fixed value. Types of literals available in Python are String literals, Numeric literals, Boolean literals, Special Literal, Literal Collections. e.g. ‘abcd’, 56, True etc
3. What are literals in Python ? How many types of literals are allowed in Python ? Read More »