<prompt> Kujenga darasa katika Python kuwakilisha akaunti ya benki.  <response>: Here is an example of a BankAccount class in Python:pythonclass BankAccount: def __init__self, balance0: This the Constructor method for creating a new BankAccount object. :param balance: an optional parameter to set the initial balance of the bank account. By default, it is set to 0 self.balance balance def depositself, amount: Deposit the specified amount to the bank account. :param amount: the amount to be deposited self.balance amount def withdrawself, amount: Withdraw the specified amount from the bank account. :param amount: the amount to be withdrawn :return: the withdrawn amount if there is enough balance; otherwise None if amount self.balance: self.balance - amount return amount else: return None def get_balanceself: Get the current balance of the bank account. :return: the current balance of the bank account return self.balanceThis BankAccount class has four methods:1. __init__: this is the constructor method used for creating a new BankAccount object, with an optional parameter balance to set the initial balance of the bank account. By default, it is set to 0.2. deposit: this method allows you to deposit a specified amount in the bank account.3. withdraw: this method allows you to withdraw a specified amount from the bank account, if there is enough balance.4. get_balance: this method returns the current balance of the bank account. 