# STARTER: function bodies intentionally omitted."""C13.05: an explicit simulation; not durable distributed storage."""classLedger:def__init__(self,balance:int):raiseNotImplementedError('Implement __init__ from the contract in the book')defdebit(self,key:str,amount:int,lose_reply:bool=False)->int:raiseNotImplementedError('Implement debit from the contract in the book')if__name__=='__main__':ledger=Ledger(10)try:ledger.debit('request-1',3,lose_reply=True)exceptTimeoutError:passprint(ledger.debit('request-1',3),ledger.balance)