Goldfish

Report a typo

For your project, you've created two classes: Fish and GoldFish. GoldFish inherits from Fish.

class Fish:
    def __init__(self, name, color, species):
        self.name = name
        self.color = color
        self.species = species


class GoldFish(Fish):
    pass

You want to create an instance of GoldFish representing a pet goldfish called Bobby. How should you do it?

Select one option from the list
___

Create a free account to access the full topic