Skip to content

Commit

Permalink
'FullStack_Solution'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hulk-hurry-Hulk-smash committed Oct 24, 2024
1 parent 5db11d3 commit 8de3889
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
Expand All @@ -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...")
Expand Down

0 comments on commit 8de3889

Please sign in to comment.