Python Forum
Banking system - transferring money
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Banking system - transferring money
#2
Take it by pieces. I don't see where you call that method, so either where you call it get the items you have as parameters and call the function (sender_lname, etc) or don't get the information there and instead put your input statements to get the information in the transferMoney() method and have it called with no arguments. Your choice. You already have the methods for looking up a customer by name, so then use that to locate the record of the sender, deduct the amount from the sender account, locate the receiver same way, add that amount.
Reply


Messages In This Thread
Banking system - transferring money - by 3DEN - Dec-09-2019, 10:37 AM
RE: Banking system - transferring money - by jefsummers - Dec-09-2019, 12:49 PM
RE: Banking system - transferring money - by 3DEN - Dec-13-2019, 09:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I have this coding exercise to find how much money take Barrack Obama and Romney Mitt vasiliskarv 1 495 Mar-19-2024, 08:24 PM
Last Post: deanhystad
  homework - banking system Massimo16 2 3,319 Jan-13-2020, 11:02 PM
Last Post: jefsummers
  homework - banking system Massimo16 1 4,755 Jan-12-2020, 03:56 PM
Last Post: ibreeden
  Money Global Variable saturnstars 8 4,460 Apr-12-2019, 10:48 AM
Last Post: ichabod801
  Money Bags Program PythonNoob123 2 7,875 Jan-23-2017, 10:42 PM
Last Post: PythonNoob123

Forum Jump:

User Panel Messages

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