Write a python function which takes one argument, which is a word(as a string),and returns true if the word contains the same number of vowels as consonants. Then write a short piece of code to read the above file and print out all such words.For example the words such as "ache","ox" and "lead" should be printed, but not such words as "knock", "computer."

def word(w):
for y in w:
for x in l:
while w[0]==x:
if w[-1]==x:
return True
return False