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
Do you need classes in python?
Can we return a string in python?
What do you understand by *args and **kwarg python?
Write program to validate the email address in python?
What is difference between list and set in python?
How web scraping is done in python, explain in short?
Who uses python?
What is the purpose of “end” in python?
What is inside __ init __ py?
What is python coded in?
What are dict and list comprehensions?
What is python? What are the benefits of using python? What do you understand of pep 8?
Explain and statement about list?
Why to use python numpy instead o f lists?
Does python have a string ‘contains’ substring method?