Combining, Dividing & Defining 2D and 3D Vectors

I have written about Vectors back in Feb 2020 (in this post called Introduction to Vectors) but seeing as that was so long ago I wanted to refresh my mind on the topic by writing a bit of a meatier post (as we covered more of this than we did at UWE). // Notes taken from my lectures at the University of Kent 2022 Starting at the beginning, what is a vector? A vector is a line that has been...Read more

List Comprehensions & Slicing in Python

This post is going to cover comprehensions and slicing of data sets in Python. This topic is what makes Python so loved by programmers because it allows us to filter elements from a collection and transform those elements in the filtering process using one very concise expression where other languages (such as Java) may require 5 or 6 lines of code to do the same thing. // These are notes taken from my lecture at university The following is what...Read more