Question: def message ( self ) : # . . . . . . . . . . . . . . . . . .
def messageself: #
print Welcome
class Emp:
definitself name, sal, comm, args kwargs:# Line
TotalSalsalcomm
print name
printTotalSal
class Designation:
definitself des, args kwargs :#
Do you need to change anything in the code to get the following output?
If yes Which line you need to modify to get the following output? What
you will right?
Output:Welcome
us
Child class
Note you don't have to write this code. Just see the code carefully and
answer this question.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
