Answer
Object-oriented programming organizes behavior around objects and classes. • Objects combine state with operations. • Classes define attributes and behavior shared by instances. • Python also supports procedural and functional styles, so OOP is one option.
💡 Simple Example
class Counter:
def __init__(self):
self.value = 0
counter = Counter()
print(counter.value)
Output
0
⚡ Quick Revision
Python OOP uses classes and objects to group state and behavior.