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
Do you know how is multithreading achieved in python?
What are the different environment variables identified by python?
What is a means by “tuple in python”?
How do I install pip?
What is used to represent Strings in Python? Is double quotes used for String representation or single quotes used for String representation in Python?
How do I run python?
What are the differences in list and tuple?
How do I quit python?
Explain the difference between local and global namespaces?
What is a metaclass in Python?
How do you access private methods in python?
What is flask?
What is the difference between runtime and compile time?
What are the disadvantages of python?
When does a dictionary is used instead of a list?