Stuck


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


Help asap


#2

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


#3

mb didnt see it lol ty papusallaaaaaaaaaaaaaaaaaaaaatiiiiiiii


#4

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


#5

btw do u get payed for being help desk bronze?


#6

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.


#7

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