input: 
  from typing import Dict
  
  
  def bank_account_operations(name: str, balance: float, transactions: Dict[str, float]) -> float:
      """
      Create a BankAccount class with a name and an initial balance. The class should have methods to
      deposit money, withdraw money, and get the current balance. This function will initialize the
      BankAccount with the given name and balance, then perform the operations specified in the
      transactions dictionary. The keys in the transactions dictionary are operations ("deposit" or
      "withdraw") and the values are the amounts. The function should return the final balance of the
      account after all transactions are performed.
      >>> bank_account_operations("John", 1000, {"deposit": 500, "withdraw": 200})
      1300.0
      >>> bank_account_operations("Jane", 500, {"withdraw": 600, "deposit": 1000})
      900.0
      """
  
output:     
      class BankAccount:
          def __init__(self, name: str, balance: float):
              self.name = name
              self.balance = balance
          
          def deposit(self, amount: float):
              self.balance += amount
          
          def withdraw(self, amount: float):
              self.balance -= amount
          
          def get_balance(self) -> float:
              return self.balance
      
      account = BankAccount(name, balance)
      for operation, amount in transactions.items():
          if operation == "deposit":
              account.deposit(amount)
          elif operation == "withdraw":
              account.withdraw(amount)
      
      return account.get_balance()
  