Computer Science, asked by gs7537913, 7 months ago

Write a program in python to count the

words that start with “A”

character from the file “ABC.TXT ​

Answers

Answered by RuwaisnZaid
2

Explanation:

f = open("ABC.TXT","r")

g = f.readline()

while f!="":

if g[0]=="A":

print(g)

g=f.readline()

#mark me as brainly and follow me

Similar questions