I have a syntax error in line 10 that is preventing me from finishing this lesson. I can't figure out what is wrong--I've already gone back through all the lessons and retraced my steps.
I expect that:
new_word1 = word + first + pyg
new_word = [1:len(new_word1)]
should work (the instructions say "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."
Here is my entire code: pyg = 'ay' original = raw_input('Enter a word:') if len(original) > 0 and original.isalpha(): print original word = original.lower() first = word new_word1 = word + first + pyg new_word = [1:len(new_word1)] else: print 'empty' Thank you for your help!