Python - Inheritance and Code Reuse
What will be the output of this code?
class Bird:
def fly(self):
return "Flying"
class Parrot(Bird):
def fly(self):
return "Parrot flying"
obj = Parrot()
print(obj.fly())