This code shows syntax error


#1

print 'Welcome to the Pig Latin Translator!'

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

#2

your else is wrongly indented


#3

thank you for the help i got this :slight_smile:


#4

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