[Solved] Python OOP Sub class prints parent class methods then its own methods [duplicate]
Yes, it is possible and it is what inheritance in Python does. As @deceze suggests, update the files like below: human_class.py: class human(): def __init__ (self, gender=””, age=0, height=0, howHigh=””): #setting attributes self.gender = “” self.age = 0 self.height = 0 self.howHigh = “” def setHeight(self): self.height = int(input(“What is your height in cm? “)) … Read more