Inheritance | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Inheritance

Why it cant execute from its base class ? class A: def method (self): print(1) classB(A): def method(self): print(2) B().method()

12th Nov 2019, 2:05 PM
Preethi Loganathan
Preethi Loganathan - avatar
0 Answers