input: Write a function to create a class named BankAccount in Python with the following methods: an initializer method to set the account holder's name and initial balance, a deposit method to add money to the account, a withdraw method to remove money from the account if sufficient balance is available, and a get_balance method to return the current balance. If the withdraw method is called with an amount greater than the current balance, it should return False; otherwise, it should return True.
  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
  assert BankAccount("John", 1000).deposit(200).get_balance()==1200
  assert BankAccount("Jane", 500).withdraw(600)==False
  assert BankAccount("Alice", 800).withdraw(300).get_balance()==500
  assert BankAccount("Bob", 0).deposit(50).get_balance()==50
  assert BankAccount("Charlie", 100).withdraw(50).get_balance()==50
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