#!/usr/local/bin/python3 class A(object): def __init__(self): self.a = 1 class B(A): def __init__(self): super().__init__() self._a = 9 #super(A, self).__init__() #print(super()) @property def a(self): return self._a print(B().a)