Lists are just one way for Python to store multiple data points. Your next one to learn about should be dictionaries – an unordered…
Creating random numbers is a central part of programming – whether it is for simulations, games or models, there are a multitude of uses…
In previous posts, we have seen a couple a couple of examples of functions – print() being just one of them. As you know,…
Python is a versatile piece of kit straight out of the box. By itself it can do just about anything, from simple calculations, to…
Using single numbers or data points will only get us so far. If we want to analyse data sets or do anything with more…
As seen with their ‘for’ counterpart, loops are a really useful tool that allow us to repeat instructions without repeating our code. It keeps…
Everything that we have seen so far has involved us giving a program a single instruction and asking it to run. This is not…
Having Python tell us if something is true or not is fundamental to anything that we want to do in programming. Based on something…
Comparisons and Logic Every day, we make thousands of tiny judgements that lead to bigger actions. Based on the information available, we will make…
Football is full of numbers, names, lists, teams and a million other ‘things’ that make up our understanding of what is happening. In the…