input: Write a function to implement the BankAccount class that represents a bank account in Python with methods for depositing, withdrawing, and checking the balance. The class should have an __init__ method that takes the account holder's name and the initial balance as parameters. If the withdrawal amount is greater than the current balance, the method should return False.
  
  
  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
  
  # Test cases
  assert BankAccount("Alice", 1000).deposit(500).get_balance() == 1500
  assert BankAccount("Bob", 2000).withdraw(1000) == True
  assert BankAccount("Charlie", 500).withdraw(600) == False
  assert BankAccount("Dave", 3000).get_balance() == 3000
  
output: class BankAccount:
      
      def __init__(self, name, balance):
          self.name = name
          self.balance = balance
          
      def deposit(self, amount):
          self.balance += amount
          return self
      
      def withdraw(self, amount):
          if self.balance >= amount:
              self.balance -= amount
              return True
          else:
              return False
          
      def get_balance(self):
          return self.balance