Whats wrong with it


#1



Welcome to the Pig Latin Translator!
Traceback (most recent call last):
File "python", line 5, in
TypeError: 'int' object is not callable


print 'Welcome to the Pig Latin Translator!'

# Start coding here!

original = raw_input ("What is your name?") 


print name


#2

@mrpon,

The error message is misleading, and is likely an artifact of some code that you submitted previously.

There is no variable, name, defined by your code. However, after you submit your code and provide input when you see the prompt displayed, original will be defined. That is what you need to print, rather than name.


#3

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