Why this error happened? what's wrong?


#1

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


#2

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.


#4

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


#5

Good! Glad to have helped! :smiley:


#6

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