Computer Science, asked by phantomgamer, 7 months ago

Write a program that reads a text file and counts the number of times a certain letter appears in the file?​

Answers

Answered by amriksingh8884
0

Explanation:

The file is opened using the open() function in the read mode.

...

Python Program that Reads a Text File and Counts the Number of Times a Certain Letter Appears in the Text File

Take the file name and the letter to be counted from the user.

Read each line from the file and split the line to form a list of words.

Answered by bindushanker128
0

Answer:

Python program that read test file and counts the number of time a certain letter to the file

Similar questions