PR3_Steinberger/SL2/s2_a1.py

14 lines
302 B
Python

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")