class Swimmer:
    def eat(self):
        print('Swimmer is eating')

    def swim(self):
        print('swim')


class Flyer:
    def eat(self):
        print('Flyer is eating')

    def fly(self):
        print('fly')


# Multiple Inheritance: Order MATTERS
class FlyingFish(Swimmer, Flyer):
    def __init__(self, name):
        self.name = name


flyingFish = FlyingFish('Bobby')
# Inherits eat method from Swimmer
flyingFish.eat()
flyingFish.swim()
flyingFish.fly()


class SwimmingBird(Flyer, Swimmer):
    def __init__(self, name):
        self.name = name


swimmingBird = SwimmingBird('Robby')
# Inherits eat method from Flyer
swimmingBird.eat()
swimmingBird.fly()
swimmingBird.swim()

90adb341833b63b81a91c0569dcfd4ab7b24d116
<mask token>


class Flyer:

    def eat(self):
        print('Flyer is eating')
    <mask token>


class FlyingFish(Swimmer, Flyer):

    def __init__(self, name):
        self.name = name


<mask token>


class SwimmingBird(Flyer, Swimmer):

    def __init__(self, name):
        self.name = name


<mask token>

class Swimmer:
    <mask token>
    <mask token>


class Flyer:

    def eat(self):
        print('Flyer is eating')

    def fly(self):
        print('fly')


class FlyingFish(Swimmer, Flyer):

    def __init__(self, name):
        self.name = name


<mask token>


class SwimmingBird(Flyer, Swimmer):

    def __init__(self, name):
        self.name = name


<mask token>

class Swimmer:

    def eat(self):
        print('Swimmer is eating')
    <mask token>


class Flyer:

    def eat(self):
        print('Flyer is eating')

    def fly(self):
        print('fly')


class FlyingFish(Swimmer, Flyer):

    def __init__(self, name):
        self.name = name


<mask token>


class SwimmingBird(Flyer, Swimmer):

    def __init__(self, name):
        self.name = name


<mask token>

class Swimmer:

    def eat(self):
        print('Swimmer is eating')

    def swim(self):
        print('swim')


class Flyer:

    def eat(self):
        print('Flyer is eating')

    def fly(self):
        print('fly')


class FlyingFish(Swimmer, Flyer):

    def __init__(self, name):
        self.name = name


<mask token>
flyingFish.eat()
flyingFish.swim()
flyingFish.fly()


class SwimmingBird(Flyer, Swimmer):

    def __init__(self, name):
        self.name = name


<mask token>
swimmingBird.eat()
swimmingBird.fly()
swimmingBird.swim()

class Swimmer:
    def eat(self):
        print('Swimmer is eating')

    def swim(self):
        print('swim')


class Flyer:
    def eat(self):
        print('Flyer is eating')

    def fly(self):
        print('fly')


# Multiple Inheritance: Order MATTERS
class FlyingFish(Swimmer, Flyer):
    def __init__(self, name):
        self.name = name


flyingFish = FlyingFish('Bobby')
# Inherits eat method from Swimmer
flyingFish.eat()
flyingFish.swim()
flyingFish.fly()


class SwimmingBird(Flyer, Swimmer):
    def __init__(self, name):
        self.name = name


swimmingBird = SwimmingBird('Robby')
# Inherits eat method from Flyer
swimmingBird.eat()
swimmingBird.fly()
swimmingBird.swim()
