Traceback (most recent call last):
File "python", line 4, in
NameError: name 'word' is not defined
need it to exicute, seence word is defined.
pyg = 'ay' original = raw_input("Enter a word:") new_word = word + first + pyg if len(original) > 0 and original.isalpha(): print original word = original.lower() first = word else: print 'empty'