File "python", line 12
new_word = [1:len(new_word)]
SyntaxError: invalid syntax
Cannot get this to work. I think I missed a step in a previous section, but it accepted it anyway. Help?
Replace this line with your code. pyg = 'ay' original = raw_input('Enter a word:') if len(original) > 0 and original.isalpha(): print original word = original.lower() first = word new_word = word + first + pyg else: print 'empty'