I agree with you on the ordering but as you can clearly see his indentation is also off.
Also I hate how they wrote this course, they make you write it way more verbose then it needs. to be.
What you need to complete a pig latin translator is as follows,
- Move the first letter of the word to the end.
- Add 'ay' to the end of the new string of letter
- Word has to be 2 or more characters in length
Now that we have the instructions condensed you might have an easier time in getting the code to work.
original = raw_input("Enter a word:\n")
if original and original.isalpha():
print(original[1:] + word + 'ay'
print("You failed to make a valid entry.")
This might have not pass the course but it is all that is needed to generate words in pig Latin.
Also, you need to get some understanding that the indentation in python is vital, it allows the computer to understand when one word/sentence is finished. If you do not follow the syntax the computer will yell at you because you are speaking gibberish to it.
As always good luck.