input: 
  from typing import List
  
  
  class BankAccountCreator:
      """Class to create a BankAccount object with methods to deposit, withdraw, and check balance.
      """
  
      def create_bank_account(self, name: str, balance: float, deposit_amount: float, withdraw_amount: float) -> List[float]:
          """Create a BankAccount, deposit and withdraw amounts, and return the updated balance.
          
          >>> bank = BankAccountCreator().create_bank_account("John", 1000.0, 200.0, 150.0)
          [1050.0]
          >>> bank = BankAccountCreator().create_bank_account("Alice", 500.0, 300.0, 900.0)
          [500.0]
          """
          account = BankAccount(name, balance)
          account.deposit(deposit_amount)
          account.withdraw(withdraw_amount)
          return [account.get_balance()]
  
  
  class BankAccount:
      def __init__(self, name, balance):
          self.name = name
          self.balance = balance
  
      def deposit(self, amount):
          self.balance += amount
  
      def withdraw(self, amount):
          if self.balance >= amount:
              self.balance -= amount
              return True
          else:
              return False
  
      def get_balance(self):
          return self.balance
  
output:     
          account = BankAccount(name, balance)
          account.deposit(deposit_amount)
          if not account.withdraw(withdraw_amount):
              return [balance]
          return [account.get_balance()]
  