Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created March 10, 2019 12:34
Show Gist options
  • Save codecademydev/f471ea3429e71a6a677ec5b8ff0f2d7a to your computer and use it in GitHub Desktop.
Save codecademydev/f471ea3429e71a6a677ec5b8ff0f2d7a to your computer and use it in GitHub Desktop.
Codecademy export
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