# child class
from LalithaPythonClass.OopConcepts.Bird import Bird

class Penguin(Bird):

    def __init__(self):
        # call super() function
        super().__init__()
        super().whoisThis()
        print("Penguin is ready")

    def whoisThis(self):
        print("Penguin")
    def swim(self):
        print("penguin Swim faster")

    def run(self):
        print("Penguin Run faster")

peggy = Penguin()
peggy.whoisThis()
peggy.swim()
peggy.run()


# Penguin is ready
# Penguin
# Swim faster
# Penguin Run faster

# Bird is ready
# Bird
# Penguin is ready
# Penguin
# penguin Swim faster
# Penguin Run faster

f6affe3bc8bb65cc21f0e2ea7fc2d3c0d0c3d2e1
<mask token>


class Penguin(Bird):

    def __init__(self):
        super().__init__()
        super().whoisThis()
        print('Penguin is ready')

    def whoisThis(self):
        print('Penguin')

    def swim(self):
        print('penguin Swim faster')

    def run(self):
        print('Penguin Run faster')


<mask token>

<mask token>


class Penguin(Bird):

    def __init__(self):
        super().__init__()
        super().whoisThis()
        print('Penguin is ready')

    def whoisThis(self):
        print('Penguin')

    def swim(self):
        print('penguin Swim faster')

    def run(self):
        print('Penguin Run faster')


<mask token>
peggy.whoisThis()
peggy.swim()
peggy.run()

<mask token>


class Penguin(Bird):

    def __init__(self):
        super().__init__()
        super().whoisThis()
        print('Penguin is ready')

    def whoisThis(self):
        print('Penguin')

    def swim(self):
        print('penguin Swim faster')

    def run(self):
        print('Penguin Run faster')


peggy = Penguin()
peggy.whoisThis()
peggy.swim()
peggy.run()

from LalithaPythonClass.OopConcepts.Bird import Bird


class Penguin(Bird):

    def __init__(self):
        super().__init__()
        super().whoisThis()
        print('Penguin is ready')

    def whoisThis(self):
        print('Penguin')

    def swim(self):
        print('penguin Swim faster')

    def run(self):
        print('Penguin Run faster')


peggy = Penguin()
peggy.whoisThis()
peggy.swim()
peggy.run()

# child class
from LalithaPythonClass.OopConcepts.Bird import Bird

class Penguin(Bird):

    def __init__(self):
        # call super() function
        super().__init__()
        super().whoisThis()
        print("Penguin is ready")

    def whoisThis(self):
        print("Penguin")
    def swim(self):
        print("penguin Swim faster")

    def run(self):
        print("Penguin Run faster")

peggy = Penguin()
peggy.whoisThis()
peggy.swim()
peggy.run()


# Penguin is ready
# Penguin
# Swim faster
# Penguin Run faster

# Bird is ready
# Bird
# Penguin is ready
# Penguin
# penguin Swim faster
# Penguin Run faster
