File "python", line 9
new_word = [1:len(new_word)]
SyntaxError: invalid syntax
If I'm just dull then please enlighten me, but this seems like a badly explained step. I have no idea what I'm doing wrong. I'd really appreciate some help here. I've been looking for an answer for hours.
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 new_word = [1:len(new_word)] print original else: print 'empty'