class MyProfile:
def __init__(self, name: str, passions: list[str], approches: list[str]):
self.name = name
self.passions = passions
self.approaches = approches
def get_presentation(self) -> str:
"""Returns a full presentation as a string."""
presentation = (
f"Hi, my name is {self.name}.\n\n"
f"My passions include: {', '.join(self.passions)}.\n"
f"My approach: {', '.join(self.approaches)}."
)
return presentation
profile = MyProfile(
name="Elysee KOUA",
passions=["Programming", "Homelabbing"],
approaches=[
"Discovering new solutions",
"Testing and implementing them",
"Building reliable systems"
]
)
print(profile.get_presentation())
Popular repositories Loading
-
django-defectdojo
django-defectdojo PublicForked from DefectDojo/django-DefectDojo
Open-Source Unified Vulnerability Management, DevSecOps & ASPM
-
-
design-resources-for-developers
design-resources-for-developers PublicForked from Soro08/design-resources-for-developers
Curated list of design and UI resources from stock photos, web templates, CSS frameworks, UI libraries, tools and much more
-
cross-platform-python-gui
cross-platform-python-gui PublicForked from maltfield/cross-platform-python-gui
A fork-ready base for your new GUI application. Uses CI to automatically build executables for Linux (AppImage), Windows (exe), and MacOS (dmg)
Shell
-
-
awesome-django
awesome-django PublicForked from wsvincent/awesome-django
A curated list of awesome things related to Django
HTML
If the problem persists, check the GitHub status page or contact support.