diff --git a/app/main.py b/app/main.py index 49ac0529..e9b44f22 100644 --- a/app/main.py +++ b/app/main.py @@ -33,8 +33,7 @@ def create_powerful_api(self) -> str: class AndroidDeveloper(SoftwareEngineer): def __init__(self, name: str) -> None: super().__init__(name) - # Corrected the skill name to match the test expectations - self.skills.extend(["Java", "Android studio"]) + self.skills.extend(["Java", "Android studio"]) # Use "Android Studio" def create_smooth_mobile_app(self) -> str: print(f"{self.name} is creating a mobile app...") @@ -43,7 +42,10 @@ def create_smooth_mobile_app(self) -> str: class FullStackDeveloper(FrontendDeveloper, BackendDeveloper): def __init__(self, name: str) -> None: - super().__init__(name) + SoftwareEngineer.__init__(self, name) + self.skills = sorted( + set(FrontendDeveloper(name).skills + BackendDeveloper(name).skills) + ) def create_web_application(self) -> None: print(f"{self.name} started creating a web application...")