Pop Quiz help



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"


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


i finally solved it but thanks for helping :smiley:


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


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