Stuck at Check Yourself ....some more


my code is not working

print 'Welcome to the Pig Latin Translator!'

original = raw_input("Please input your word - ")

if len(original) > 0 and original.isaplha():
    print original
    print "empty"

This error comes in
Welcome to the Pig Latin Translator!
Please input your word - j
Traceback (most recent call last):
File "python", line 5, in
AttributeError: 'unicode' object has no attribute 'isaplha'


You mean isalpha() ?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.