Chek Yourself


#1

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?


#2

Hi here

else: print "empty"

Should be like that

else: 
    print "empty"

#4


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


#5

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) :
    print 
else:
    print

#6

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)


#7

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