So my code passes and it says proceed to the next lesson, but what I don't understand is why it asks me to "Enter a word:" twice in the output. Even if I enter two different words, the code runs, and it asks me to proceed to the next lesson.
Welcome to the Pig Latin Translator!
Enter a word: dragon
Enter a word: drag
I was expecting it to ask me to enter the word only once, and after I hit enter, it would print the word I have entered, and if I leave it blank, for it to print "empty" instead of me having to hit enter twice to get the "empty" message.
print 'Welcome to the Pig Latin Translator!' # Start coding here! raw_input("Enter a word:") original = raw_input('Enter a word:') if len(original) > 0: print original else: print "empty"