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 print original else: print 'empty'
You'll be wanting to print the
new_word instead of original. That was only an early step.
new_word = new_word[1:len(new_word] print new_word
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.