constructing multidimensional list to quickly initialize one-dimensional listwe generally rely on syntax such as data [ to create list of zeros on page we emphasized that from technical perspectivethis creates list of length with all entries referencing the same integer instancebut that there was no meaningful consequence of such aliasing because of the immutability of the int class in python we have to be considerably more careful when creating list of lists if our goal were to create the equivalent of two-dimensional list of integerswith rows and columnsand to initialize all values to zeroa flawed approach might be to try the command data ([ cr warningthis is mistake while([ cis indeed list of zerosmultiplying that list by unfortunately creates single list with length cjust as [ , , results in list [ betteryet still flawed attempt is to make list that contains the list of zeros as its only elementand then to multiply that list by that iswe could try the command data [ cr warningstill mistake this is much closeras we actually do have structure that is formally list of lists the problem is that all entries of the list known as data are references to the same instance of list of zeros figure provides portrayal of such aliasing data figure flawed representation of data set as list of listscreated with the command data [ (for simplicitywe overlook the fact that the values in the secondary list are referential this is truly problem setting an entry such as data[ ][ would change the first entry of the secondary list to reference new value yet that cell of the secondary list also represents the value data[ ][ ]because "rowdata[ and "rowdata[ refer to the same secondary list