CBSE Class 10 Computer Applications Question 12 of 19

Python Revision — Question 12

Back to all questions
12
Question

Question 12

What are literals ? How many types of literals are available in Python ?

Answer

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

  1. String literals
  2. Numeric literals
  3. Boolean literals
  4. Special literal None
  5. Literal collections
Get the Bright Tutorials app Stuck on a question? Ask Bright Buddy — your AI tutor — for step-by-step help in the app.