create a function named processFiles that takes a list of strings namedlistOfFileNames as a parameter. Your function should print the total number of words in all of the files in listOfFileNames. Use the following function header
def processFiles(listOfFileNames):
For example, given
listOfFileNames = [‘input1.txt’,’input2.txt’,’input3.txt’] with the above files containing the following information:
input1.txt contains: The quick
input2.txt contains: brown fox
input3.txt contains: jumped over
Your function should print 9





