I have this error, but don't understand where I make a mistake. My code are below. Can you give me a hint how it resolve?
Traceback (most recent call last):
File "python", line 8, in
TypeError: 'builtin_function_or_method' object has no attribute 'getitem'
pyg = "ay" original = raw_input("Enter a word:") if len(original) > 0 and original.isalpha(): word = original.lower first = word  print original else: print "empty"