Question: Python 3 please Due: Tuesday December 5, 2017 at 11:55pm This exercise may be completed individually or as part of a group. If the exercise
Python 3 please
Due: Tuesday December 5, 2017 at 11:55pm This exercise may be completed individually or as part of a group. If the exercise is completed as a group then all members of the group are expected to make a meaningful contribution to the solution. Task: Write a program that asks the user for the name of a .csv file, opens the file, counts the number of values in it, and reports the result to the user. Your program does not need to do any error checking you can assume that the file your program is asked to open will exist, and that the values within it will be comma separated. Ensure that your program closes the file once it is done analyzing its contents. Your input prompts and output messages should match those shown in the sample input and output below Sample Input and Output: Run #1 Enter the name of a .csv file: test1.csv That.csv file contains 6 values Run #2 Enter the name of a .csv file: test2.csv That .csv file contains 10 values Run #3 Enter the name of a .csv file: test3.csv That .csv file contains 24 values Grading: Your program will be graded by testing it with two different sets of input, which may be different from the examples shown above. Submission Instructions: Submit your solution as a Python source code file electronically to the Exercise 7 drop box in D2L. You do not need to submit a paper copy of your solution. If you choose to complete this exercise as part of group then each member of the group must submit a copy of the exercise using D2L
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
