class Parent:
    def __init__(self):
        self.value = 5

    def get_value(self):
        return self.value

class Child(Parent):
    def get_value(self):
        return self.value +1


obj = Child()
print(obj.get_value())

