Coding

Python Constructor

Python Constructor: A Constructor is a special kind of method automatically called while creating an object. A Constructor is defined in the class, and we can use this method to initialize the basic attributes of the class. Usually, the Read more…

By Umar Khan, ago
Coding

Inheritance in Python

Inheritance in Python Object-Oriented Programming provides reusable patterns to the code for restricting the redundancy in development projects. One of the basic principles of Object-Oriented Programming that helps achieve recyclable code is Inheritance, where one subclass Read more…

By Umar Khan, ago