Chek Yourself


print 'Welcome to the Pig Latin Translator!'

original = raw_input("Enter a word")
if len(original) > 0:
print (original)
else: print "empty"

Help me please. What's wrong?


Hi here

else: print "empty"

Should be like that

    print "empty"


I fixed that, but code still doesn't work(


Now its a indent problem remove the space before the if statement do the same for the else statement it should be like that

if ( condition) :


Thank you!
Is it important to write or not to write spaces in real code? Or it's just for comfortable reading?
Sorry for my English)


As far I know in python it is importante indent the code.
If its use in real code I don't know.