class Person:
def __init__(self, name, field_of_study, current_focus, interesting_fact, hobbies):
self.name = name
self.field_of_study = field_of_study
self.current_focus = current_focus
self.interesting_fact = interesting_fact
self.hobbies = hobbies
def get_location(self):
return "Unknown City"
def aspirations(self):
return ["Explore New Technologies", "Complete Personal Projects"]
def __str__(self):
return f"{self.name}, a {self.field_of_study} enthusiast, currently focusing on {self.current_focus}. " \
f"Interesting fact: {self.interesting_fact}. Hobbies include: {', '.join(self.hobbies)}."
# Create an instance of Person with abstracted details
user = Person(
name="K___ Nick",
field_of_study="Computer Science and Information Technology",
current_focus="DevOps",
interesting_fact="I have strong feelings about certain numbers.",
hobbies=['Music', 'Chilling', 'Gaming', 'Horror Movies']
)
# Demonstrate usage
print(user)
print("Current Location:", user.get_location())
print("Aspirations:", user.aspirations())
Driven by a relentless curiosity, I dance with the binary stars, weaving intricate patterns of logic and imagination.
- Greece
- in/nicholas-kyriazis-3ngin
Pinned Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.