Python Forum
Banking system - transferring money
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Banking system - transferring money
#3
(Dec-09-2019, 12:49 PM)jefsummers Wrote: 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.

how would I do this?, im new to python
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Money Global Variable saturnstars 9 4,788 Jun-03-2024, 02:46 PM
Last Post: LinkAiris
  I have this coding exercise to find how much money take Barrack Obama and Romney Mitt vasiliskarv 1 547 Mar-19-2024, 08:24 PM
Last Post: deanhystad
  homework - banking system Massimo16 2 3,361 Jan-13-2020, 11:02 PM
Last Post: jefsummers
  homework - banking system Massimo16 1 4,800 Jan-12-2020, 03:56 PM
Last Post: ibreeden
  Money Bags Program PythonNoob123 2 7,942 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