Question: In python Create a class called Person. From this class, inherit another class called student. Assume suitable data members and member functions for these two
In python Create a class called Person. From this class, inherit another class called student. Assume suitable data members and member functions for these two classes. In both the classes, define the __str__ function and demonstrate method overriding
Step by Step Solution
3.35 Rating (158 Votes )
There are 3 Steps involved in it
mainpy 1 2 3 4 5 6 7 8 9 10 11 12 13 14 class Person def initself n... View full answer
Get step-by-step solutions from verified subject matter experts
