0

Why python is object oriented?

25th Oct 2021, 5:58 PM
Sannithi Harini
Sannithi Harini - avatar
3 ответов
+ 2
Because: In Python, everything is an object. Classes are objects, instances of classes are objects, modules are objects, and functions are objects. https://www.pythonmorsels.com/topics/everything-is-an-object/
25th Oct 2021, 6:36 PM
Coding Cat
Coding Cat - avatar
+ 1
Python is based on two things: Keywords and objects (functions are also objects)
26th Oct 2021, 12:20 PM
Sousou
Sousou - avatar
0
Since python is using class programming Class is a collection of objects It is having all object-oriented features So it is called an object-oriented programming language
27th Oct 2021, 10:57 AM
sree harsha
sree harsha - avatar