I've been staring at the same bit of code for a week and I'm just about to go bonkers. It is the python translator, and I cannot seem to generate an adequate program to operate the translator. Can someone please advise? Code is pasted below.
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 = new_word[1:len(new_word)] print new_word_1 else: print 'empty'