pyg = 'ay'
original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
word = original.lower()
first = word
new_word = word + first + pyg
new_word = [1/len(new_word)]
Oops, try again. new_word should be a string!
out put is as below
Enter a word: good
Can any one help for this program to solve it