Python Forum
Need help with pseuo -bank account using OOP
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with pseuo -bank account using OOP
#3
(Jul-08-2017, 05:18 PM)ichabod801 Wrote: Please use python tags, I added them for you. See the BBCode tutorial link in my signature for more info. First of all, the code after the class definition should be loops. Have an outer loop where you ask for the pin. Once you match the pin to an account, have an inner loop that allows for withdrawls, deposits, and balance inquiries, until they are done. Second, I would store the objects in a dictionary, with the pins being the keys. Then if the pin is in the dictionary, you can have the inner loop on that object. If it isn't, you can give the login error.
Thanks but can you you show me how to do that in my code please
Reply


Messages In This Thread
RE: Need help with pseuo -bank account using OOP - by obieze998 - Jul-08-2017, 05:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Different results of code with local account and technical account dreyz64 7 3,740 Mar-05-2020, 11:50 AM
Last Post: dreyz64

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020