Oops, try again. The original variable ("gg") had more than 0 characters but did not get printed


print 'Welcome to the Pig Latin Translator!'

if len(original) > 0 :
print "awesome"
print "empty"

When I type something, the word "awesome" will not be printed out. I have figured this a few days. Hope that I can get the response. Thank you.


what's your error message?are you getting any indentation error?
and are you sure you want to print awesome all the time instead of the value of the variable named original.

To fomat your code properly do the following

  • copy your code and paste it here
  • select the whole code
  • click on the </> above


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