Python · OOP: Classes & Inheritance
What goes wrong here with two unrelated parents? ``` class Offroad: def drive(self): print("land") class Watercraft: def drive(self): print("water") class Amphib(Offroad, Watercraft): pass Amphib().drive() ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
