Question: THIS QUESTION IS AVAILABLE ONLINE PLEASE CHECK BEFORE POSTING: http://www.codestepbystep.com/problem/view/python/basics/even_average Write a Python program that prompts the user for nonzero integers, and then prints the

THIS QUESTION IS AVAILABLE ONLINE PLEASE CHECK BEFORE POSTING: http://www.codestepbystep.com/problem/view/python/basics/even_average

Write a Python program that prompts the user for nonzero integers, and then prints the average of all even numbers typed. (When the user types 0, stop asking for input.) You may assume that the user types at least one even integer. The following is an example output from one run of your code:

Integer? 1 Integer? 3 Integer? 2 Integer? 6 Integer? 4 Integer? 10 Integer? 9 Integer? 0 Average: 5.5 

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!