Loops

This follows on in my ways from the [functions] notebook. The aim here is to show the utility of loops in Python programming. I will again endevour to use examples of chemistry related problems, but occasionally examples from physics or mathematics will come through.

As is the case with my aspects of programming the propose of a loop is to allow the programmer to write less code. This leads to the idiom that computers are really good at doing the same thing over and over, much better than humans.

A loop really is just that, a way to tell the computer to perform a task multiple times over.

Launch this notebook using Binder

Download this notebook.