Computer Science, asked by anamtakhan3434, 4 months ago

5
Write a Function to read data from a text file DATA.TXT, and display each word with
number of vowels and consonants.
(Assume the contents of the file : Python is interpreter based language)​

Answers

Answered by parora20
0

Answer:

def display():

f= open(data.txt,'r')

t=f.read()

count =0

if t=='a' ,'e','i','o','u' :

print(count)

else:

print( len(str))

Similar questions