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
else: print 'empty'
Hint**read instruction and theory of this section that is..
Set new_word equal to the slice from the 1st index all the way to the end of new_word. Use [1:len(new_word)] to do this.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.