Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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