Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Windows Notepad (or similar program), create a file called Numbers.txt in your the same folder as your Python program. This file should contain a

Using Windows Notepad (or similar program), create a file called Numbers.txt in your the same folder as your Python program. This file should contain a list on floating point numbers, one on each line. The number should be greater than zero but less than one million.

Your program should read the following and display:

The number of numbers in the file (i.e. count them) (counter)

The maximum number in the file (maximum)

The minimum number in the file (minimum)

The total of all the numbers in the file (total)

The average of all the numbers in the file (average)

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

Students also viewed these Databases questions