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