Question: Please help! Will give thumbs up Only use import sys and nothing else. Please explain each function and method to help understand. Program must be
Please help! Will give thumbs up
Only use import sys and nothing else.
Please explain each function and method to help understand.
Program must be written in Python 3


Write a program that reads data from a file and produces a frequency distribution table that has the following information: the class boundaries, the frequency, the midpoint, the relative frequency, and the cumulative frequency. In addition to the table, the mean and standard deviation of the frequency distribution must be reported. The program output must be written to the console (standard out). The file must be passed into the program using a command line argument; you must not hard-code the file path. The expected file format is: First line: Number of classes Second line: comma separated list of data entries with arbitrary amounts of white space Example input file: 5 7,39,13,9,25,8,22,0,2,18,2,30,7,35,12,15,8,6,5,29,0,11,39,16,15 The only library that you are allowed to import for this assignment is sys. If you utilize any other
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
