We will go through a multi dimensional list which is comparable to a multidimensional array in Java. For a multidimensional list, you put lists(these are your column) or dictionaries (this again will be your column) within a list( these are your row)


Python Code (dictionaries within a list):

Another option is to use lists within a list:

Scroll through a simple single dimemsional list to for the lowest value.

Lists are python’s implementation of arrays. You can access any item of the list using the index and pyhton makes it easy to insert into a list by using the insert method and to count the number of occcurences of a value in a list using the count method. List also have the flexibility of having a list within a list, dictionary/tuple/set withing a list.


Python Code:

Ryan Simethy

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store