Question: I NEED HELP WITH THIS PYTHON ASSIGNMENT (TEXTBOOK SOLUTION IS INCORRECT) Spreadsheet programs such as Microsoft Excel or OpenOffice Calc have an option to export

I NEED HELP WITH THIS PYTHON ASSIGNMENT (TEXTBOOK SOLUTION IS INCORRECT)

Spreadsheet programs such as Microsoft Excel or OpenOffice Calc have an option to export data into CSV files. In this exercise, you will create a program that will read in a spreadsheet (in CSV format) and manipulate it. It should print a menu for the user that allows them to print the data, delete a row or column, insert a row or column, change a value in a cell, and output the data in CSV format.

Example: a) print

b) delete

c) insert

d) change a value

e) output to CSV

f) exit

Issues to consider:

Use Python's csv module to read in a spreadsheet. Choose an appropriate data structure to store the data. Should you use lists, tuples or dictionaries?

Construct a driving loop in your program that will prompt for the operations specified previously. A useful interface is to allow choices to be specified with a single letter related to the operation - e.g. for delete. EXAMPLE FOR PROBLEM:

Use the following sample code to get you started with a csv file https://repl.it/I9Xe/2

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!