Description:
Translates words in the English language into in to Pig Latin.
Code:
pyg = ‘ay’
original = raw_input(‘Enter a word:’)
word= original.lower()
first=word[0]
new_word=word+first+pyg
new_word=s[1:len(new_word)]
if len(original) > 0 and original.isalpha():
print original
else:
print ’empty’
Screenshot: