Pop Quiz help


#1



https://www.codecademy.com/en/courses/python-beginner-2W5v7/0/6?curriculum_id=4f89dab3d788890003000096

I don't understand what I am doing wrong here,

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


 

print'Welcome to the Pig Latin Translator!'

# Start coding here!
original = raw_input("Enter a word:")

if len(original) > 0 and orignial.isalpha():
    print raw_input()

else :
    print "empty"


#2

Check the Spelling, you have mistyping of the ' orignial ':sweat_smile:


#3

i finally solved it but thanks for helping :smiley:


#4

This one is very simple just replace print "empty" on line 8
with print"original"

The reason is contradiction which makes one fail :slight_smile:

Good luck


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.