Hi all, as you see below i had a problem with my code.. i don't know exactly what went wrong.. But it gave me an try again message. I looked at the hint and changed a litte but still gives the same message. Can someone help me out?!?!
The instructions were as follows:
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.
Oops, try again. It looks like you printed the correct translation of "justin", but make sure to set new_word equal to the slice as well.
pyg = 'ay' original = raw_input('Enter a word:') word = original.lower() first = word new_word = word + first + pyg if len(original) > 0 and original.isalpha(): print new_word[1:] else: print 'empty'