Python OOPs
Object Oriented Programming in Python Python is objected oriented programming. We can use classes and objects in Python. Class can be usderstood as a type of data structure which describes the properties and attributed of the object. Class is the blueprint of object. Object can be understood as the real world entity which has its own behaviour and state and instance of the class. Principles of OOP - Inheritance : In this concept we inherit the properties of one class to another. The class from which we inherit the property is called as parent class and other is child class. By inherit we means that we can use the property of one class to another. No need to write the code again. Polymorphism : Polymorphism means many forms. In this concept we means that we can have multiple functions of same name and can be differentiate on the basis of parameters. Encapsulation : In this concept, we encapsulate the methods and data together in a single unit. In class we...