Question: Dosign a Python program to do the following: a . In the main function: a . Create two lists that hold integers with the list
Dosign a Python program to do the following:
a In the main function:
a Create two lists that hold integers with the list size given by the user
b Call a method called fillList to fill a list with a set of randomlygenerated integers between low and high limits both inclusive This method should be called twice to fill listA and then listB. the values of low and high are read in the main method
c Call another method called printList to display the elements of a list elements per line. This method should be called twice to print list and then list
d Call another method called count to count and return the total number of integers greater than a value entered by the user.
e Call another method called findAverage that calculates and returns the average of all the values in a list.
f Call a method called aboveAverage that finds and returns how many numbers in a list are above the average of the elements of that list
Sample input and output:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
