
194 ◾ Computational Thinking for the Modern Problem Solver
painting of all time. We might also say that Portrait of Dr. Gachet is the
h (or number ve) most expensive painting of all time. When we use
numbers to identify the things in a list we are using a technique known as
indexing. Indexing associates a unique number with every item in a set of
data and therefore allows the items to be identied by their index. Since
indices are used to identify data within a list; an index can be understood
as a unique name for one of the items in a list.
In this chapter, we will denote an item in a list by using brackets. For
example, if Painti