Extend a base class.
class StableCoin(Token)super()class Token:
def __init__(self, symbol):
self.symbol = symbol
def describe(self):
return f"Token({self.symbol})"
class StableCoin(Token):
def __init__(self, symbol, peg):
# TODO: call super().__init__ and store peg
pass
def describe(self):
# TODO: use super().describe()
pass