Consider the file poem.txt which contains following data:
we work, we try to be better
we work with full zest
but, why is that we just don’t know nay letter
we still give our best
we have to steal
But, why is that we still don’t get a meal.
Write a program to read the complete file in a list.
Write a program to display size of the file in bytes.
Write a program to display number of lines in the file.
Write a program to count and display lines starting with letter ‘w’.
Write a program to count and display number of words in the file, also print length of each word.