Class meaning in python

what is class actually mean in python and when did we use class

In object oriented programming Class is extensible program code for creating objects
In simple word Class is the blueprint for creating as many objects and each object is instance of that class

example lets say you have a (blueprint of a house which contain detailed for building a house) now with that blueprint you can create many houses

each house are object
blueprint is a class

1 Like