Easy
A Child Gets the Method
class Animal has breathe() returning NAME is breathing. class Fish(Animal) adds nothing (pass). Read a name, make a Fish and print breathe().Input
One line.
Output
One line.
Sample 1
Input
Nemo
Output
Nemo is breathing
Sample 2
Input
Goldie
Output
Goldie is breathing
Output appears here