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
do you have a link where a matter like this is discussed:
Create a function manipulate_data that does the following
Accepts as the first parameter a string specifying the data structure to be used ālistā, āsetā or ādictionaryā
Accepts as the second parameter the data to be manipulated based on the data structure specified e.g [1, 4, 9, 16, 25] for a list data structure
Based off the first parameter
return the reverse of a list or
add items `"UDOKA"`, `"UDO"` and `"NWOSU"` to the set and return the resulting set
return the keys of a dictionary.
I canāt help with your entire project, but the people who can help will be more interested in giving you advice if you show them the work that youāve done already.
At least show them that you have started ā¦
Reading what you just wrote about the assignment and picking out the base pieces:
Create a function manipulate_data ā¦ that accepts two parameters ā¦ and returns something
What would your code look like for just that much?
If you canāt do that, then instead of posting all of these instructions from your assignment, you should instead be asking for help on how to write a function. There is a Python course here at Codecademy that includes how to write functions.