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