Question: write a Python function that keeps prompting the user for even numbers by using a loop. Enter an odd number to terminate the loop. calculate
2. Write a Python function that keeps prompting the user for even numbers by using a loop. Enter an odd number to terminate the loop. Calculate the average of all the even numbers. (20 pts) Test case: input: 2, 4, 6, 8, 1, display 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
