Programming Homework Help

Computing and Printing the Average of The Numbers in A Text File Program

 

I need support with this Python question so I can learn better.

Write a program that computes and prints the average of the numbers in a text file. You should make use of two higher-order functions to simplify the design. Ask the user for the name of the .txt file that contains the list of numbers.