Check Yourself... Some More


What am I doing wrong..

print 'Welcome to the Pig Latin Translator!'

if len(original) > 0: original.isalpha():
print original

else: print "empty"
original = raw_input("Enter a word:")

It keeps saying.. Oops, try again. Your code looks a bit off. Check the Hint if you need help!


HI, I think the problem is your if statement instead of using a colon you should use " and " like that..
if len(original) > 0 and original.isalpha():


I tried...

if len(original) > 0 and original.isalpha():
if len(original) > 0: and original.isalpha():

and neither is working


try to put original = raw_input("Enter a word:") on top of the if statement