from datetime import datetime
class ReadMe:
def __init__(self, username="Matracks", year=datetime.today().year):
self.username = username
self.year = year
self.name = 'Paulo Moran'
self.education = {
'dev language': ['Python', 'Javascript', 'PHP', 'HTML', 'CSS'],
'framework': ['Django + DRF', 'fastAPI'],
'economist': ['three years economist carrer'],
'language': ['spanish - native', 'english - mid level', 'chinese - HSK II']
}
self.employment = {
'finance assistant': ['Lovimar SA', 'Montevideo / Uruguay'],
'developer': ['thanks you', 'my profile'],
}
def __str__(self):
return f"""
Hi, I am {self.name} and {self.username} on GitHub,
I am delighted that you are here, have a nice day.
"""
def doing(self, now=2022):
today = self.year
if now < today:
experience = self.employment['finance assistant']
return f"""
I was a finance assistant in {experience[0]} in {experience[1]}.
"""
elif now == today:
dream = self.education['framework']
return f"""
I am currently learning {dream[-1]}.
"""
else:
goal = self.employment['developer']
return f"""
Hey!, you, in the future, {goal[0]} for visit {goal[1]}.
"""
me = ReadMe()
🍀 From Matracks