Assume a text file named “myNumbers.txt” contains integers separated by a new line. Using Repl.it, create a Python program that opens the “myNumbers.txt” file and provides descriptive statistics of the values contained in the file. Name your file "lastName 4AE" with the appropriate file name extension. 709

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Assume a text file named “myNumbers.txt” contains integers separated by a new line. Using Repl.it, create a Python program that opens the “myNumbers.txt” file and provides descriptive statistics of the values contained in the file. Name your file "lastName 4AE" with the appropriate file name extension.

709
321
636
423
95
400
193
25
870
621
862
347
886
325
871
241
802
585
525
71
401
196
314
422
574
644
812
889
778
191
676
517
979
13
636
944
200
12
567
793
648
452
517
963
16
383
174
300
582
824
380
568
424
651

428
376
361
38
325
607
29
45
317
170
370
302
530
1
783
55
765
900
16
976
215
20
412
682
737
371
368
147
964
111
183
417
623
238
574
329
769
200
483
649
840
843
25
806
69
163

Application specifications:

  1. Docstring that explains the application.
  2. Uses comments to provide the application's algorithm with sufficient detail.
  3. Welcome the user.
  4. Provide instructions if needed.
  5. Allow the user to select the data file.
  6. Print to the screen a report with the following descriptive statistics:
    • Mean
    • Median
    • Mode
    • Standard Deviation (Sample)
    • Variance (Sample)
    • Minimum
    • Maximum
    • Range
    • Sum
    • Count
  7. Ask the user if they have another data file to analyze.
  8. Exit the application elegantly.
  9. Code has adequate comments.
Expert Solution
Step 1

The answer provided below has been developed in a clear step by step manner.

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY