Python Program to Generate Resume of a Person
class Identification:
def __init__(self, name, fathers_name, age, date_of_birth,
address, contact_no, sex, nationality, religion, caste):
self.name=name
self.fathers_name=fathers_name
self.age=age
self.date_of_birth=date_of_birth
self.address=address
self.contact_no=contact_no
self.sex=sex
self.nationality=nationality
self.religion=religion
self.caste=caste
def display(self):
print("NAME :", self.name)
print("FATHER'S NAME :", self.fathers_name)
print("AGE :", self.age)
print("DATE OF BIRTH :", self.date_of_birth)
print("ADDRESS :", self.address)
print("CONTACT NO :", self.contact_no)
print("SEX :", self.sex)
print("NATIONALITY :", self.nationality)
print("RELIGION :", self.religion)
print("CASTE :", self.caste)
class Qualification:
def __init__(self, percentage_of_secondary, percentage_of_high_secondary,
percentage_of_graduation, work_experience, hobby):
self.percentage_of_secondary=percentage_of_secondary
self.percentage_of_high_secondary=percentage_of_high_secondary
self.percentage_of_graduation=percentage_of_graduation
self.work_experience=work_experience
self.hobby=hobby
def display(self):
print("PERCENTAGE OF SECONDARY EXAMINATION :", self.percentage_of_secondary)
print("PERCENTAGE OF HIGH SECONDARY EXAMINATION :", self.percentage_of_high_secondary)
print("PERCENTAGE OF GRADUATION :", self.percentage_of_graduation)
print("WORK EXPERIENCE :", self.work_experience)
print("HOBBY:", self.hobby)