Question: 1. Question: Write a Python program to use if-else condition statement to count the SUM of even numbers, and the AVERAGE of odd numbers, from

1. Question: Write a Python program to use if-else condition statement to count the SUM of even numbers, and the AVERAGE of odd numbers, from numbers (more than 10 random numbers) within an existing .txt file. (the .py file and .txt file should be saved in the same location.)

2. use numeric operation to know if the number is odd or even

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!