Wordup exercise of PygLatin


Hello friends,

I have got strucked with the Word Up Exercise of PygLatin. Please see the below code and the error ,suggest what to make it work.

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
print original
word = "ORIGINAL"
word = word.lowercase()
first = word[0]
print first
print 'empty'

The Below Error being displayed when executed the above code

Traceback (most recent call last):
File "python", line 8, in
AttributeError: 'str' object has no attribute 'lowercase'


The python syntax for lower case isn't lowercase(), its called by lower(), like so:

word = word.lower()


The error got fixed,Thanks