Home »
MCQs »
Python MCQs
Python Literals is used to define the data that is given in a variable or constant?
20. Python Literals is used to define the data that is given in a variable or constant?
- True
- False
Answer: A) True
Explanation:
It is possible to define literals in Python as data that is provided in a variable or constant. Literal collections are supported in Python as well as String and Numeric literals, Boolean and Boolean expressions, Special literals, and Special expressions.