User Profile
Collapse
-
how could a create a function that would save and update the account with the last transaction when i close the program -
python bank account
here is my code so far:
1, How do I write a code that save and update the transaction made that when I close the program and run it again , the accounts will show the last transaction that was made before the programme ended.
class Account(object) :
def __init__(self):
self.balance = 0
def deposit(self, amount):
if (amount < 0):
return...
No activity results to display
Show More
Leave a comment: