-
-
Save codecademydev/f471ea3429e71a6a677ec5b8ff0f2d7a to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print 'Welcome to the Pig Latin Translator!' | |
# Start coding here! | |
original = raw_input("Enter a word: ") | |
if len(original) > 0: | |
print original | |
if original.isalpha() == True : | |
print str(original.isalpha()) + " Ok to proceed" | |
else: | |
print " Invalid Word, word must contain only letters" | |
else: | |
print "empty" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment