Is Python object-oriented or functional programming?
Answer Posted / glibwaresoftsolutions
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
How long will it take to learn python?
How will you differentiate between deep copy and shallow copy?
Does python sleep use cpu?
What does code coverage mean?
Given the first and last names of all employees in your firm, what data type will you use to store it?
What are the difference between python and java?
Purpose of "/" and "//" operator in python?
List out the different types of inheritance available in python?
How do you write a simple code in python?
What is the difference between list and tuples in python?
What is __init__.py used for in python?
which is the most commonly used package for data importing and manipulation?
What are loops in python?
Does python support interfaces like in java?
How to walk through a list in a sorted order without sorting the actual list?