Is Python object-oriented or functional programming?
Answer Posted / nashiinformaticssolutions
Python is functional as well as object-oriented. By permitting the construction of classes and objects, encapsulation, inheritance, and polymorphism, it facilitates object-oriented programming, or OOP. Functional programming concepts like lambda expressions, list comprehensions, higher-order functions, and first-class functions are also supported by Python. Python is a multi-paradigm language because of its versatility, which allows developers to employ functional, OOP, or a combination of both approaches depending on the task.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are python and name some key features of it?
What is python package manager (pypm)?
What is the purpose of the single underscore “_” variable in python?
What does time time () do in python?
What is namespace in Python?
What is a numpy in python?
What is the process to get the home directory using ‘~' in python?
What does kwargs mean?
What is ndarray in python?
What does the **kwargs do in python?
Mention what are the rules for local and global variables in Python?
What is flask-wtf and what are their features?
What is the necessity to use pass statement in python program?
Name some standard python errors you know?
What is ord () in python?