Python lists can contain almost any kind of Python data, including other lists. So what would you call a list of lists?
The answer is a two-dimensional list, also called a matrix. Many applications—and game programs in particular—depend on the use of matrixes.
This chapter covers several aspects of matrixes.
Creating small matrixes
Creating large, N*M matrixes
Rotating a matrix
With Python, you can easily ...