Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The first four pictures are the requirements for the assignment. The last two picture are the files I already created for the previous assignment. Thank

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
The first four pictures are the requirements for the assignment. The last two picture are the files I already created for the previous assignment. Thank you for the help in advance
image text in transcribed
image text in transcribed
Challenge: Number Stats 2 Description: Extend the program you wrote for Number Stats e to determine the median and mode of the numbers read from the file. Purpose: The purpose of this challenge is to provide experience working with numerical data in a file and generating summary information including the determination of median and mode. It also provides experience adding new functionality to an existing program. Requirements: Extend the program you wrote for Number Stats e to determine the median and mode of the numbers read from the file You are to create a program called numstat2.py that reads a series of integer numbers from a file and determines and displays the following: . Name of the file Sum of the numbers. Count of how many numbers are in the file. Average of the numbers. The average is the sum of the numbers divided by how many there are. Maximum value Minimum value. Range of the values. The range is the maximum value minus the minimum value. .Median of the numbers. Mode of the numbers. values. There is to be a space between the colon and the value. File name: Sum: Count: Average: Maximum

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions