class AboutMe:
def __init__(self, name, edu, job, hobbies, interests):
self.name = name
self.edu = edu
self.job = job
self.hobbies = hobbies
self.interests = interests
def education(self):
print(f"I've completed my {self.edu['degree']} from {self.edu['institute']} as a {self.edu['position']}. With the C.G.P.A {self.edu['cgpa']}.")
def hobbies_and_interests(self):
print(f"My hobbies are {', '.join(self.hobbies[:-1])} and {self.hobbies[-1]}. And I am interested in {', '.join(self.interests[:-1])} and {self.interests[-1]}.")
def career(self):
print(f"I have 2 years of experience working in industry as a {self.job['experience']} and I am currently planning to switch to a {self.job['opento']} role")
if __name__ == "__main__":
about_me = AboutMe(
name='Samar Fatima Jaffri',
edu={'institute': 'Sir Syed University of Engineering and Technology', 'degree': 'BS-SE', 'position': 'Silver Medalist', 'cgpa': 3.78},
job={'experience': 'Software Engineer', 'opento': 'AI / ML / NLP'},
hobbies=['coding', 'learning', 'teaching', 'reading'],
interests=['Software Development', 'Artificial Intelligence', 'Generative AI', 'Natural Language Processing']
)
Attributes
Illustration by Icons 8 from Ouch!
- GitHub repo providing illustration resources link awesome-illustrations
- Makrdown Badges and Dynamic badges i.e., stats and streak by Badges4-README.md-Profile
- The About Me section is inspired by a MarikIshtar007