Skip to content

Instantly share code, notes, and snippets.

@sharpblade4
sharpblade4 / cooperative.py
Last active June 22, 2020 08:09
cooperative multiple inheritance paradigm in python
class Vehicle:
def __init__(self, color: str) -> None:
self._color = color
class ConstructionMachine:
def __init__(self) -> None:
super().__init__()
def rumble(self) -> str: