Check Yourself Some More


#1



Check Yourself Some More

print 'Welcome to the Pig Latin Translator!'
original = raw_input("Enter a word")
print original
def original():
if len(original)>0 or original.isalpha():
print original
else:
print "empty"

The output isn't coming "empty"
even if I enter the original with numbers, the original is returning as numbers
Why is that?


Replace this line with your code.


#2

Both of these lines can be removed.


#3

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