This blog post particularly,will be more on the practical side of things.Something more of like “learning by doing” kind of stuff.So lets jump onto it right away!
I gave a brief introduction over decorators in my previous post. I will truly recommend to check that out.So lets move on from where we finished.I will like to start by giving a small refresher of a decorator in a simple example below.
Before we start off with generators, I would like to introduce Iterators first.
Iterators is a python type on which we can loop upon.This means inbuilt data types like lists…
Searching, as we know is the process of finding out a particular element from a collection of elements.There are two main ways to perform a search on a collection(or a list) of data.