Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started