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.
PYTHON (50 points) Create a file that includes the below numbers and is called "Numbers.txt". Then, write a program that
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am