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 first == "e" or first == "i" or first == "o" or first == "u":
new_word = word + pyg
print new_word
print "consonant"
print 'empty'

Help asap


Why do you have two else- statements? That's not possible, bud. Replace one of your else- statements with an elif- expression.


mb didnt see it lol ty papusallaaaaaaaaaaaaaaaaaaaaatiiiiiiii


No problemo, two a;s is enough :wink:


btw do u get payed for being help desk bronze?


Not at all, it's just a trust level. I get some extra authorities like flagging posts and stuff, but I don't get paid.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.