Check Yourself : Not working


#1



PyLatin : Check Yourself! Not Working

Im trying the following code but its working. yet, I tried on different websites, it does not show any error other than the last line.
Here is my code

print 'Welcome to the Pig Latin Translator!'

# Start coding here!
raw_input("Enter a word:")
original = raw_input
print (original)
if len(original) > 0:
    print original
else:
    print "empty"

Does anyone have solution for this? Thanks in advance!


#2

this two lines:

raw_input("Enter a word:")
original = raw_input

should be one line, you should store the result of calling raw_input into original


#3

Thanks! It worked!:slight_smile:


#4