PigLatin 4/10 Check Yourself!


#1


PigLatin 4/10 Check Yourself!

File "python", line 5
print original
^
IndentationError: unexpected indent

Oops, try again. Oops! Did you accidentally delete the variable called original?

Why won't it work????


print 'Welcome to the Pig Latin Translator!'

original = raw_input("Enter a word:")

    print original

if len(original) > 0:
    
print original

else: 
    print "empty"

#2

This thingy is in wrong indendation level.


#3

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