harbor run -t openthoughts/tasktrove-exp-rpt-e2egit-v2-e2egit-0102harbor download openthoughts/tasktrove-exp-rpt-e2egit-v2-e2egit-0102Implement a simple banking application that allows users to create accounts and perform various transactions. The application should meet the following specifications:
Account Class:
Account class that has the following attributes:
account_number: a unique identifier for the account (string).account_holder: the name of the account holder (string).balance: the current balance of the account (float, initialized to 0.0).Constructor:
Account class should have a constructor that takes account_number and account_holder as parameters and initializes the balance to 0.0.Deposit Method:
deposit(amount: float) in the Account class that adds the specified amount to the account balance. If the amount is negative, the method should raise a ValueError with the message "Deposit amount must be positive."Withdraw Method:
withdraw(amount: float) in the Account class that subtracts the specified amount from the account balance. If the amount is negative or greater than the current balance, the method should raise a ValueError with the message "Insufficient funds" when there's not enough money to withdraw or "Withdrawal amount must be positive" if the amount is negative.Get Balance Method:
get_balance() method that returns the current balance of the account.String Representation:
__str__ method to return a string in the following format:
"Account [account_number] held by [account_holder] has balance: [balance]" where [balance] is formatted to two decimal places.Unit Tests:
Place your implementation in the /app/ directory, ensuring that the Account class is defined in a file named account.py.