input: Write a python function to create a BankAccount class with a property decorator that ensures the total amount updates when the name or balance changes.
  assert user1.name == "Tim cook"
  assert user1.total == "Tim cook has 10000 dollars in the account"
  user1.balance = "20000"
  assert user1.total == "Tim cook has 20000 dollars in the account"
output: class BankAccount:
      def __init__(self, name, balance):
          self._name = name
          self._balance = balance
      
      @property
      def name(self):
          return self._name
      
      @name.setter
      def name(self, value):
          self._name = value
      
      @property
      def balance(self):
          return self._balance
      
      @balance.setter
      def balance(self, value):
          self._balance = value
      
      @property
      def total(self):
          return f"{self._name} has {self._balance} dollars in the account"
  
  # Example usage:
  user1 = BankAccount("Tim cook", 10000)