Python Check yourself some more have to press enter twice?


#1

I did this excercise twice because I lost my first account, but the second time I had to click enter twice for a result. Is there anything wrong with the code? (When I press enter once I can write anything but nothing appears. then I have to retype it)

print 'Welcome to the Pig Latin Translator!'

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

#2

it is you used raw_input function twice, so it is asking you to input twice