class StripePaymentGateway(PaymentGateway): def process_payment(self, amount): print(f"Processing payment of ${amount} using Stripe.")
def get_balance(self): return self.__balance python 3 deep dive part 4 oop high quality
class PaymentGateway(ABC): @abstractmethod def process_payment(self, amount): pass python 3 deep dive part 4 oop high quality