parent class fish class fishdef __init__(selfnamenoofeyes= last_name="fish")self name=name self noofeyes noofeyes self last_name last_name def swim(self)print("the fish is swimming "def swim_backwards(self)print("the fish can swim backwards "child class goldfish class goldfish(fish)pass child class clownfish class clownfish(fish)def live_with_anemone(self)print("the clownfish is coexisting with sea anemone "gf goldfish("terry"print(gf name gf last_name +"has ",gf noofeyes ,"eyes"gf swim(gf swim_backwards(print(""casey clownfish("casey"print(casey name casey last_name +"has "casey noofeyes ,"eyes"casey swim(casey swim_backwards(casey live_with_anemone(outputterry fish has eyes the fish is swimming the fish can swim backwards terry fish has eyes the fish is swimming the fish can swim backwards the clownfish is coexisting with sea anemone page