class Person: def __init__(self, name, age): self.name = name self.age = age class Student(Person): def __init__(self, name, age, school): super().__init__(name, age) self.school = school #Check whethe a class is a subclass of another print(issubclass(Student, Person))