There are 2 classes, the Student class inherits the get_full_info method from Person. How can super () add the university attribute to this method without completely overriding this method? (as I did)
class Person(): def __init__(self, name, surname, age, status): self.name = name self.surname = surname self.age = age self.status = status def get_full_info(self): return "{}, {}, {}, {}".format(self.name, self.surname, self.age, self.status) from person import Person class Student(Person): def __init__(self, name, surname, age, status, university): super().__init__(person, name, surname, age, status) self.university = university def get_full_info(self): return "{}, {}, {}, {}, {}".format(self.name, self.surname, self.age, self.status, self.university)