Python - Polymorphism and Dynamic Behavior
What will be the output of this code?
class Vehicle:
def move(self):
return "Moving"
class Car(Vehicle):
pass
v = Vehicle()
c = Car()
print(v.move())
print(c.move())