input: def test_account_operations(name: str, initial_balance: float, deposit_amount: float, withdraw_amount: float) -> bool:
      """ This function tests the operations of a bank account including deposit and withdraw.
      It creates a BankAccount instance with the given name and initial balance, then checks if the deposit and withdraw operations are successful.
      The function returns True if all operations are executed without any issues, otherwise it returns False.
      Example:
      >>> test_account_operations('Alice', 100.0, 50.0, 75.0)
      True
      >>> test_account_operations('Bob', 50.0, 25.0, 100.0)
      False
      """
output:     class BankAccount:
          def __init__(self, name: str, initial_balance: float):
              self.name = name
              self.balance = initial_balance
  
          def deposit(self, amount: float) -> bool:
              if amount > 0:
                  self.balance += amount
                  return True
              return False
  
          def withdraw(self, amount: float) -> bool:
              if 0 < amount <= self.balance:
                  self.balance -= amount
                  return True
              return False
  
      account = BankAccount(name, initial_balance)
      if not account.deposit(deposit_amount):
          return False
      if not account.withdraw(withdraw_amount):
          return False
      return True