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 is dogpile effect?
Why to use python numpy instead o f lists?
Multiply all elements of a list without writing a loop?
What are tokens in python?
How to walk through a list in a sorted order without sorting the actual list?
What are the benefits of python?
Does python have private?
find max length of any given sublist?
Where is python best used?
How are arguments passed - by reference or by value?
What is python used for?
How to sort a dictionary by value in python?
What does defined by whitespace in python?
What is a module in python?
What is the difference between remove() function and del statement?