I'm stuck on PygLatin exercise 8, Word Up
When I run my code, it says "Oops, try again. Did you create a variable called word?"
In the console, it shows this:
Traceback (most recent call last):
File "python", line 3, in
TypeError: 'str' object is not callable
Here is my code:
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'