Write a program that lets you enter a word and that prints out the number of vowels and the number of consonants (vowels are: a,e,i,o,u. all others are consonants). The program should repeat asking for more words, until you enter "stop" HINT: use build in find() function.
Here is what I have so far:
word = raw_input('Enter a word')
print word.find("a"), word.find("e"), word.find('i'), word.find('o'), word.find('u')
I am really lost as to what to do next can someone show me how to use the find function properly because it doesn't seem to be working the way I expected it to work, but it is not. In this code I need to use the .find() built in function without the use of if statements and finding if the values are 'a' or 'e' and so forth!