office module#
- class office.TheOffice(regional_manager: str, employees: Set[Employee], location: str)#
Bases:
object
A class representing an office that holds information about its employees and their sales. It exposes methods make and view sales for each employee.
- Parameters:
regional_manager (str) – The name of the employee.
employees (Set[Employee]) – A set of employee objects.
location (str) – The name of the region the office is located.