I've never been good at PygLatin


#1

https://www.codecademy.com/courses/python-beginner-2W5v7/0/4

Oops, try again. Your code looks a bit off. Check the Hint if you need help!

Traceback (most recent call last):
File "python", line 5, in
NameError: name 'origninal' is not defined

I expected the program to print the word I typed when prompted, error pops up instead.


print 'Welcome to the Pig Latin Translator!'

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


#2

Can you spot the typing error in the above?