Encapsulation in Python 7

Encapsulation in Python

Encapsulation is an essential aspect of Object-Oriented Programming. Let’s have a study on how to use private and protect attributes and methods in Python.

Python String strip explained 8

Python String strip explained

In Python, we usually use these functions: strip, lstrip, rstrip for string strip. In this post, I explain the usages of these functions, how these are implemented.