Check your self...some more


#1

print 'Welcome to the Pig Latin Translator!'

Start coding here!

original=raw_input()
if len(original) > 0 and original.isalph():
print original

else:
print "empty"

I don't know what I'm doing wrong but it says:

Traceback (most recent call last):
File "python", line 4, in
AttributeError: 'unicode' object has no attribute 'isalph'

i've tried taking out and but that still says its wrong...


#2

The correct method is .isalpha().


#3

better u give intend i mean after : hit enter and tab
may b better u try this code
original=raw_input()
if len(original) > 0 and original.isalpha():
print original

else:
print "empty"