class Animal:
def __init__(self, clr='gray'):
self.color = clr
def call(self):
print("color: ", self.color)
print("Animal call")
class Fish(Animal):
def __init__(self, clr="green"):
Animal.__init__(self, clr)
self.tail = 'tail'
def call(self):
print("color: ", self.color)
print("Fish call")
if __name__=='__main__':
a = Animal()
a.call()
fish = Fish()
fish.call()