Python does have some features of a functional language. OOP’s concepts like, Classes,Encapsulation,Polymorphism, Inheritance etc.. in Python makes it as a object oriented programming language . In Similar way we can created procedural program through python using loops ,for ,while etc ..and control structure.
Is Python a functional or OOP?
Python does have some features of a functional language. OOP’s concepts like, Classes,Encapsulation,Polymorphism, Inheritance etc.. in Python makes it as a object oriented programming language . In Similar way we can created procedural program through python using loops ,for ,while etc ..and control structure.