+1 vote
by (876 points)

1 Answer

+1 vote
by (524 points)
selected by
 
Best answer

By default, Python does not provide abstract classes. Python comes with a module which provides the base for defining Abstract Base classes(ABC) and that module name is ABC. ABC works by decorating methods of the base class as abstract and then registering concrete classes as implementations of the abstract base. A method becomes abstract when decorated with the keyword @abstractmethod.

Welcome to CodersEditor Q&A, where you can ask questions and receive answers from other members of the community.
...