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 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 executionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started