Session 4: Loops in Python


Overview

Python has special commands for repeating actions over and over again. These loops are very useful when we have a large number of things to do. In our case, we want to plot thousands of observations of earthquakes to a world map. This session focuses on loops in Python, which we will use in the next session to make our plots.