Question: a)Write a Python program to read a file line by line store it into a list. Each line should be an item in the list
a)Write a Python program to read a file line by line store it into a list. Each line should be an item in the list and Write a python program to find the longest words. You should split the text by space. b) Write a Python program to count the number of lines in a text file.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
