PygLatin 4. Check YourSelf


I cannot find any mistakes in my code !!! but they say,

File "python", line 5
if len(original) > 0:
IndentationError: unexpected indent

can anybody help me...

print 'Welcome to the Pig Latin Translator!'

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


Unindent this line and you should be good to go!



All of this once. Just highlight it and press Shift + Tab.


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