Create a class called BankAccount
- .Create a constructor that takes in an integer and assigns this to a `balance` property.
- .Create a method called `deposit` that takes in cash deposit amount and updates the balance accordingly.
- .Create a method called `withdraw` that takes in cash withdrawal amount and updates the balance accordingly. if amount is greater than balance return `"invalid transaction"`
- .Create a subclass MinimumBalanceAccount of the BankAccount class
Class BankAccount(object): def_init_(self,intx): self.balance=intx def deposit(self, amount):... View the full answer