it keeps saying the : is wrong
File "python", line 6
new_word = word + [1:len(new_word)] + pyg
SyntaxError: invalid syntax
I thought it would work fine
pyg = 'ay' original = raw_input('Enter a word:') word = original.lower() first = word new_word = word + [1:len(new_word)] + pyg if len(original) > 0 and original.isalpha(): print word print first else: print 'empty'