Question: class Employee (object): def __init__(self, name, department): Class constructor :param name: :param department: # TODO: create two local instance attributes and set them
class Employee (object): def __init__(self, name, department): """ Class constructor :param name: :param department: """ # TODO: create two local instance attributes and set them to the assigned parameters. def info(self): """ TODO: Prints the info of this employee :return: "works in the department" i.e Sarah works in the Engineering department """ return None
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
