2.3. Lab B

In Lab B we’re going to start using Python. Python is a very versatile language, there are lots of different ways of fundamentally doing the same thing. We’re going to look at one particular way.

In this lab we’ll focus on using Python in a Jupyter Notebook before moving on to writing .py files for the other Python labs in the course.

If you’ve used Python before, but with a different approach - that’s fine - there’s more than one way of doing this. Nevertheless, follow along with the approach here to see what’s new and different.

The contents of Lab B are: