Functions

Slicing Through Sequences In Python

One of the easiest ways to extract a subset of elements from an iterable in Python is by applying the concept of slicing. In this post, let's understand how we can slice through any iterable, i.e, strings, lists or tuples in order to carve out a subset!

Improve Code Readability With Keyword Arguments In Python

One of the simplest ways of making Python code more readable is by replacing positional arguments in function calls with named or keyword arguments. Let's explore how we can do that in this post!