Why this error happened? what's wrong?


print 'Welcome to the Pig Latin Translator!'

Start coding here!

original=raw_input('Enter a word:')

when I press save and submit, the next error appear:
Welcome to the Pig Latin Translator!
Traceback (most recent call last):
File "python", line 4, in
TypeError: 'str' object is not callable


Ok I just looked over your code and I copy and pasted into my lesson browser and as far as I can tell your code is completely correct and passed fine. Maybe try refreshing your browser, clearing your cookies, submitting it on a new web browser? Might help the lesson to "realize" its correct.


Thank you so much, your answer of refreshing my page worked!


Good! Glad to have helped! :smiley:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.