Question: Write a Python program that reads in n integers and stores it in a list of integers. The output of the program should display: a)
Write a Python program that reads in n integers and stores it in a list of integers. The output of the program should display: a) The list of integers b) The average of the numbers in the list c) The median value of the numbers d) The number of even numbers in the list Sample runs are shown below: How many integers do you want to input: 5 Enter integer 1: 12 Enter integer 2: 23 Enter integer 3: 32 Enter integer 4: 14 Enter integer 5: 18 The list of integers is: [12, 23, 32, 14, 18] The average of numbers in the list is: 19.8 The median of the numbers in the list is: 18 The number of even numbers in the list is: 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
