Question: Write a function that asks the user to enter two numbers: n 1 and n 2 . Then generate a list of all numbers between

Write a function that asks the user to enter two numbers: n1 and n2.
Then generate a list of all numbers between n1 and n2(excluding n1 and n2).Then find the average of all even numbers in the list.
Write a test function to check if the function above is correct when called with 4 and 10.
Make sure to add a comment showing your name on the first line of your program.

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 Programming Questions!