What are literals in Python? How many types of literals are allowed in Python?
Literals are data items that have a fixed value. The different types of literals allowed in Python are: