9/11


#1

pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
word = original.lower()
first = word[0]
if first == 'a' or 'e' or 'i' or 'o' or 'u' or 'A' or 'E' or 'I' or 'O' or 'U':
print "vowel"
else:
print "consonant"

else:
print 'empty'
new_word = word + first + pyg


#2

Why do you check for upercase and lowercase in this if statement:

if first == 'a' or 'e' or 'i' or 'o' or 'u' or 'A' or 'E' or 'I' or 'O' or 'U':

no need, in this line:

word = original.lower()

you changed everything to lowercase. then on the next line, you grab the first char of a string you just converted to lowercase:

first = word[0]

You use the or keyword, but it is a bit off, after each or keyword, you should have a comparison:

if first == 'a' or first == 'e' or first == 'i' or first == 'o' or  first == 'u':

#3

i got it already i am 9/18 Lists and Functions