Python - Methods and Behavior Definition
Given this code, what will be printed?
class A:
def greet(self):
return 'Hello from A'
class B(A):
def greet(self):
return super().greet() + ' and B'
b = B()
print(b.greet())