pyg = 'ay'
original = raw_input('Enter a word:')
word = original.lower()
first = original[0]
new_word = word + pyg
if len(original) > 0 and original.isalpha():
if first == "a" or first == "e" or first == "i" or first == "o" or first == "u":
print 'vowel'
else:
new_word = original[1:] + original[0:1] + pyg
print new_word
else:
print 'empty'
Great Article
ReplyDeleteB.Tech Final Year Projects for CSE in Python
FInal Year Project Centers in Chennai
JavaScript Training in Chennai
JavaScript Training in Chennai