Question: Q1. Implement a function getCustomerList that takes as argument filename to read the file and return it as a nested list, where each element is

Q1. Implement a function getCustomerList that takes as argument filename to read the file and return it as a nested list, where each element is a list of [, , . The filename argument doesnt contain the extension (i.e. input), your program must automatically add the .txt extension. If the file doesnt exist, the getCustomerList function will print the message: Error! not found., and should return None.

SOLVE IN PYTHON

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!