multidimensional arrays : Introduction « List « Python Tutorial






mixup_list = [4.0, [1, 'x'], 'beef', -1.9+6j]
print mixup_list[1][1]
mixup_list[1][1] = -64.875
print mixup_list








7.1.Introduction
7.1.1.Defining a List
7.1.2.Creation of both homogeneous and heterogeneous lists.
7.1.3.Items of a list are separated by commas and enclosed in square brackets
7.1.4.Nested list
7.1.5.multidimensional arrays