Python Schoolby trefilov
Шаг 1 из 4+110 XP

Наследование и super

Расширяем, не повторяем.

super()

class A:
    def hi(self): return "A"
class B(A):
    def hi(self): return super().hi() + "B"