Question: 1 . Create a function named main and in this function you need to: ( 1 ) create a one - dimensional list of integers
Create a function named main and in this function you need to:
create a onedimensional list of integers including elements; point
assign an random integer from to to every element; point
calls the printAverage function the definition of this printAverage function is shown in step point
A function named printAverage, which is able to
receive a onedimensional list as the input; point
calculate the average of all elements in this list; point
display the average on the Console. point
Add comments to your program. point
write the above mentioned program in python programming language
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
