| class UserDetail: | |
| def __init__(self, student_id, student_name, dob, class_std, section, | |
| father_name, mother_name, address, phone, email, blood_group): | |
| self.student_id = student_id | |
| self.student_name = student_name | |
| self.dob = dob | |
| self.class_std = class_std | |
| self.section = section | |
| self.father_name = father_name | |
| self.mother_name = mother_name | |
| self.address = address | |
| self.phone = phone | |
| self.email = email | |
| self.blood_group = blood_group | |
| def __str__(self): | |
| return f"Student ID: {self.student_id}, Name: {self.student_name}, Class: {self.class_std}-{self.section}" | |