class Education:
def __init__(self):
self.bachelor_university = "University of Pisa"
self.bachelor_field = "Digital Humanities"
self.master_university = "University of Pisa"
self.master_field = "NLP & Digital Humanities"
self.research_interests = [
"Machine Learning",
"Natural Language Processing",
"Artificial intelligence",
"Data Science"
]
def describe(self):
interests = ", ".join(self.research_interests)
return (
f"I completed my Bachelor's degree in {self.bachelor_field} at {self.bachelor_university},\n"
"focusing on topics such as Natural Language Processing, Human Language Technologies,\n"
"Web Development, and Data Analysis.\n"
f"I'm currently pursuing my Master's degree in {self.master_field} at {self.master_university}.\n"
f"My research interests include {interests}."
)
class Introducer:
def __init__(self):
self.name = "Arcangelo"
self.surname = "Franco"
self.age = 29
self.location = "Italy"
self.education = Education()
def introduce(self):
return (
f"Hi! My name is {self.name} {self.surname}.\n"
f"I'm {self.age} years old and I'm from {self.location}.\n"
"I hope I can be of help to you."
)
def describe_education(self):
return self.education.describe()
def main():
presenter = Introducer()
print(presenter.introduce())
print()
print(presenter.describe_education())
if __name__ == "__main__":
main()
-
Notifications
You must be signed in to change notification settings - Fork 0
License
arcangelofranco/arcangelofranco
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published