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