An Amygdala
Published in

An Amygdala

How to Iterate Through a 2D List in Python

A straightforward explanation.

What is a list?

Lists are simply a collection of elements. In Python, they are a type of data, denoted by brackets.

For example, [0, 1, 4] is a list with 3 elements. This is referred to as a one-dimensional list because each element of the list is a number.



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
an amygdala

You Are Your Own, a curated collection of my feminist poems is available on Amazon & Free via Kindle Select: