Easy
Child Adds an Attribute
class Pet stores a name. class Dog(Pet) also stores a breed and calls super().__init__(name). Read a name and a breed and print NAME the BREED.Input
Two lines.
Output
One line.
Sample 1
Input
Rex Labrador
Output
Rex the Labrador
Sample 2
Input
Tommy Beagle
Output
Tommy the Beagle
Output appears here