#
File Lists08.py
# Rev 2/4/00 # Copyright 2000, R. G. Baldwin # Illustrates a three- # dimensional array list # #------------------------------- print "Create and print a\ three-dimensional array list" listA = [[[[1],[2]],[[3],[4]]], [[[5],[6]],[[7],[8]]]] print listA print "Print each element" print listA[0][0][0] print listA[0][0][1] print listA[0][1][0] print listA[0][1][1] print listA[1][0][0] print listA[1][0][1] print listA[1][1][0] print listA[1][1][1] Figure 9 |