Check Yourself... Some More


#1

print 'Welcome to the Pig Latin Translator!'

Start coding here!

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

what is wrong please help


#2

what is error message ?? your code look correct


#3

The error is
Oops, try again. Did you remember to use .isalpha() in your code?


#4

so you should use isalpha() function to verify if the string consists of alphabetic characters only.
example in your code :
original.isalpha() ; should return True if oriniginal has alphabetic characters only and False if not


#5

I figured it out
thanks