so like this?
pyg = 'ay' original = raw_input('Enter a word:') if len(original) > 0 and original.isalpha(): print original else: print 'invalid' word = original.lower() first = word
I get this error can some one tell me what this error means and what I did wrong
Traceback (most recent call last):
File "python", line 12, in
IndexError: string index out of range