Solution Exercise 43 : class to manage bank account
Exercise 43. Bank Account class: Create a Python class called BankAccount which represents a bank account, having as attributes: accountNumber (numeric type), name (name of the account owner as string…