Chapter 8: Lists Flashcards
A circumstance where two or more variables refer to the same object.
aliasing
A character or string used to indicate where a string should be split.
delimiter
One of the values in a list (or other sequence); also called items.
element
Having the same value.
equivalent
An integer value that indicates an element in a list.
index
Being the same object (which implies equivalence).
identical
A sequence of values.
list
The sequential accessing of each element in a list.
list traversal
A list that is an element of another list.
nested list
Something a variable can refer to. Has a type and a value.
object
the relationship between indices and elements
eg. in a list
mapping
error type when you try to read or write an element that doesn’t exist
IndexError
for loop function that iterates through the number of times specified by an integer
range()
operator to concatenate lists
creates a new list
+
operator to repeat a list n times
creates a new list
*