Which is the parent class of a child class in Python?
Parent class is the class being inherited from, also called base class. Child class is the class that inherits from another class, also called derived class. Any class can be a parent class, so the syntax is the same as creating any other class: Create a class named Person, with firstname and lastname properties, and a printname method:
DA: 70 PA: 18 MOZ Rank: 38 Up or Down: Up