I am a new bee and trying to learn python. Below is basic code which I am working on, The problem is that when I enter any word starting with a consonant the code is only returns 'Vowel'. Can someone guide me where I am going wrong - Thanks in advance.
- Code: Select all
original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
word = original.lower()
first = (word )
if first == "a" or "e" or "i" or "o" or "u":