5. Check Yourself... Some More


I type in a word with only letters and then it prints empty...
when my code is looking fine... at least i think
Here's my code:

print 'Welcome to the Pig Latin Translator!'

Start coding here!

x = "J123"
original = raw_input("Enter a word:")
if len(original) > 0 and x.isalpha():
print original

print "empty"


Not asked for.

Use original here.


That worked Thanks a lot!


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