Difficult but very important step of Python. Here, comes Classes. These are Object constructors for creating objects.

Figure 1: Analogical Illustration of Classes in Python

A class is a code template for creating objects. Objects have member variables and have behavior associated with them. In python a class is created by the keyword class . An object is created using the constructor of the class. This object will then be called the instance of the class.

Let’s get our hands dirty💻. we will use matplotlib library to plot (draw) some diagrams while running our codes. In Python, we have many useful libraries, these are like libraries in real world — you go inside, browse what you need, make use of it and enjoy !

Sweet ! That was end of our 10th Step ! Congratulations to you ! Pat your back for this handwork and dedication. 👏



Wonderful ! You have completed the 10 steps milestone. In this step, we will see “Reading Files” in python. Let’s dive in.

Image : Read File in Python

Reading files in python is one of the common operation you would come across, due to which you need to be familiar with various ways and options of file read operations. Keep a file in your local machine and change the path for reading it while practicing on the Jupyter notebook.

P.S : Don’t forget to pull out all the notebooks shown in the series of babysteps from my GitHub repo💻:

(mihirdhakan93/python-babysteps: Repo for the python baby steps with practical hands-on (github.com)



Write once, use many times ; Yes I am going to talk about functions in python now. It’s obvious to have scenarios where multiple times/places in the program the same task needs to be done, that’s where Functions comes into picture.

Figure 1: Functions in Python

Hi there ! welcome to this step of Functions in Python. In this step, we are going to learn about What are functions?, Types of functions, Using If/else in Functions, Variables and different types of scopes, and lastly quiz.

So, Let’s begin.

Thank you ! Stay tuned for more Steps ! After all, small steps matters.



Operators plays vital role while performing any logical or other comparison + calculations, assignments, etc. between or across variables. These operators are of few categories, such as Arithmetic, Logical, Relational and much more.

Figure 1: Comparison Operators in Python

Statements which consists If, else, are converted to programmable python statement using Condition statements. Also, you will learn about Branching in python. Try to co-relate the concepts with real-life events, it would be much easier to grasp.



Yeaaaaa!!! Half century ! Congratulations you have completed 5 baby steps ! Keep up the good work. In this step, we will check out “dictionary” in python, another type which stores Keys + Values.

Figure 1 : Key Value illustrative image

Till now, you had seen the lists, tuples, sets, where you would access the values by its index. However, Dictionary stores the keys for each value defined by user, and later when you need to access you flash your keys to python and you will get your results. Think of it, as real world dictionary — when you need to browse meaning of a particular word, you scan through that letter first and once you get it, you read the meaning of it, same-to-same in python.

Let’s dive deeper.

Gist for Dictionary

Thank you for your time !



Now, after talking about lists, it’s time to checkout “sets” in Python. Key difference between lists and sets is no duplicate values would be allowed to store in sets.

Figure 1 : sets in python

Welcome back ! I hope you understood tuples, lists. In this step, we will explore “Set” data type in python, with some operations such as add, remove, IN, “&”, Difference, intersection, union, issuperset, issubset and then some quiz for you to validate what you learnt so far.

No more English, let’s get our hand’s dirty ! Shoooooooot your clicks on below !

See you soon !