Robotics & Artificial Intelligence
Write short notes on Literals with reference to Python language.
Getting Started
3 Likes
Answer
When we write a code, we may come across some quantities which remain fixed (i.e., do not change) throughout the execution of the program. Such quantities are termed as Literals or Constants. These constants include integer, string and boolean values. For example, 345, "Computer", True, etc. are some literals used in Python.
Answered By
1 Like