Define a function that takes an argument in the name of a


Define a function that takes an argument in the name of a CSV file. This file can have any number of rows. Each row has exactly 10 words separated by comma. Your function should print the total number of four letter words in the file.

For example, the call problem5( ‘words.txt')

prints

There are 7 four letter words in the file

Where the contents of the file words.txt looks like -

All,the,world's,a,stage,and,all,the,men,and,

women,merely,players:,they,have,their,exits,and,their,entrances;,

and,one,man,in,his,time,plays,many,parts,his,

acts,being,seven,ages,so,this,is,a,shakespeare,quote,

 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Define a function that takes an argument in the name of a
Reference No:- TGS0646368

Expected delivery within 24 Hours