literal is data whose values are determined by the
literal itself
123 = One Hundred and Twenty Three
c == ?
speed of light?
constant
length of hypotenuse
Therefore
123 is a literal
c is not
used to encode data and put them into your code
literals
very common type of literal
string
another type of literal
integer - number
a series of letters
string
integer converted into machine representation
set of bits
If you encode a literal and place it inside Python code, the form of the literal determines the representation (type) Python will use to
store it in the memory.