You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
programming-basics-2022/08_python/mixins/cat_girl.py

14 lines
239 B

class GirlsMixin:
def hooray(self):
print("Hoooray")
class CatMixin:
def feed(self, hp):
print("Meow")
class CatGirls(GirlsMixin, CatMixin):
def main(self):
super().feed(50)
super().hooray()