File "python", line 12
SyntaxError: invalid syntax
I expect it to read and run until the end like it's supposed to; however, unless I indent the else statement, an indent error message appears. When I indent the else statement on line 12, that error message appears.
pyg = 'ay' original = raw_input('Enter a word:') word = original.lower() first = word new_word = word + first + pyg[1:len(new_word)] if len(original) > 0 and original.isalpha(): else: print 'empty'