Skip to content

Instantly share code, notes, and snippets.

@TheNZA
Created May 28, 2013 19:31
Show Gist options
  • Save TheNZA/5665434 to your computer and use it in GitHub Desktop.
Save TheNZA/5665434 to your computer and use it in GitHub Desktop.
print "Welcome to the English to Pig Latin translator!"
original = raw_input("Enter a word")
if len("original") > 0:
print original
else:
print "empty"
@audy
Copy link

audy commented May 28, 2013

Your indentation is fuggered

print "Welcome to the English to Pig Latin translator!"
original = raw_input("Enter a word")

# is original a variable name or a string?
if len("original") > 0:
    print original
else:
    print "empty"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment