PYTHON (50 points) Create a file that includes the below numbers and is called "Numbers.txt". Then, write a program that

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

PYTHON (50 points) Create a file that includes the below numbers and is called "Numbers.txt". Then, write a program that

Post by answerhappygod »

PYTHON
(50 points) Create a file that includes the below numbers and iscalled "Numbers.txt". Then, write a program that opens thefile and does the following: a) Counts the amount of numbers thatare in the file and displays it on the screen. b) Gives the averageof the first 10 numbers in the file and displays it on the screen.c) Provides the sum of the first 15 numbers in the file anddisplays it on the screen. d) Gives the minimum value found in thefile and displays it on the screen. e) Gives the maximum valuefound in the file and displays it on the screen.
Numbers:
Cannot use the built-in max and min functions.
Must be python code.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply