from humans import AbstractHuman class Employee(AbstractHuman): known_companies=list() current_company=None expirience=list() achivements=list() def enter_job(self,job): description=f""" {job.start} -> {job.end}: {repr(self.current_company)} - {job.position} Мои обязанности и достижения: {job.duties} ============================= {self.achivements} """ self.expirience.append(description) @property def summary(self): return "\n".join(self.expirience) def represent(self) -> None: self.say(self.about()) self.say(self.summary) if self.summary else self.say("Немного занят, отвечу позднее.")