Question: You are given the following code: class Employee: Common base class for all employees def __init__(self, name= , salary=0,date=): self.empName = name self.empSalary =
You are given the following code:
class Employee: """Common base class for all employees""" def __init__(self, name= " ", salary=0,date=""): self.empName = name self.empSalary = salary self.empDate= date def printall(self): print(self.empName,self.empSalary,self.empDate) x=Employee("John", 15000, "20/1/2018") setattr(x,, ) x.printall() Fill in the gaps so that the ouput of the program will be: Fatma 15000 20/1/2018 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
