Question: Design and write a program that reads in the numbers from your random.txt file of numbers and inserts the numbers into a list. Once the

 Design and write a program that reads in the numbers from

Design and write a program that reads in the numbers from your random.txt file of numbers and inserts the numbers into a list. Once the numbers are in the list, the program should then calculate and display the following data:

  • The lowest number in the list.
  • The highest number in the list.
  • The total of the numbers in the list.
  • The average of the numbers in the list displayed to one decimal place.

Once the numbers are in the list, your program should not use any loops to calculate any of the numbers being displayed. Use Python functions to determine these values.

Extra thought (not required): See if you can figure out a way to get the lowest and highest numbers without writing your own loop and without using any functions that start with the letter 'm'.

please program in python

List Number Analysis Program Design and write a program that reads in the numbers from your random.txt file of numbers and inserts the numbers into a list. Once the numbers are in the list, the program should then calculate and display the fallowing data The lowest number in the ist The highest nunber in the list The total of the numbers in the list. The average of the numbers in the list displayed to one decimal place Once the numbers are in the list, your program should not use any loops to calculate any of the numbers being displayed. Use Python functions to cletemine these values. Extra thought inot requirech: See if you can figure out a way to get the lowest and highest numbers without writing your own loop and without using any functions that start with the letter m Sample execution

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!