Question
load_bank_data(file_name) a. goal: build and return a dictionary containing the data from the given file. Each row in the file becomes 1 entry in a
load_bank_data(file_name)
a. goal: build and return a dictionary containing the data from the given file. Each row in the file becomes 1 entry in a dictionary. The keys to the dictionary are customer names. The values in the dictionary are customer details as a list.
b. parameters i. file_name - the name of a CSV file containing customer information
c. result: returns a dictionary containing the customer information
d. hints: i. This function is called by bank_balance(). Have a look at how it is used in the template file ii. This function has no doc-test so extra manual testing is needed
This is in python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started