PR3_Steinberger/SL2/s2_a1.py

14 lines
302 B
Python
Raw Permalink Normal View History

2023-01-09 14:16:43 +01:00
class Tier:
def __init__(self,beine) -> None:
self.beine = beine
class Hund(Tier):
def __init__(self, name):
super().__init__(4)
self.name = name
class Rottweiler(Tier, Hund):
def __init__(self):
super().__init__(4, "Harald")