multidimensional data sets liststuplesand strings in python are one-dimensional we use single index to access each element of the sequence many computer applications involve multidimensional data sets for examplecomputer graphics are often modeled in either two or three dimensions geographic information may be naturally represented in two dimensionsmedical imaging may provide three-dimensional scans of patientand company' valuation is often based upon high number of independent financial measures that can be modeled as multidimensional data two-dimensional array is sometimes also called matrix we may use two indicessay and jto refer to the cells in the matrix the first index usually refers to row number and the second to column numberand these are traditionally zeroindexed in computer science figure illustrates two-dimensional data set with integer values this data mightfor examplerepresent the number of stores in various regions of manhattan figure illustration of two-dimensional integer data setwhich has rows and columns the rows and columns are zero-indexed if this data set were named storesthe value of stores[ ][ is and the value of stores[ ][ is common representation for two-dimensional data set in python is as list of lists in particularwe can represent two-dimensional array as list of rowswith each row itself being list of values for examplethe two-dimensional data might be stored in python as follows data [ ][ ][ an advantage of this representation is that we can naturally use syntax such as data[ ][ to represent the value that has row index and column index as data[ ]the second entry in the outer listis itself listand thus indexable