Stuck on pop quiz!


Anyone know if im doing this right? it feels right but i just want to double check with somebody. Thanks

print 'Welcome to the Pig Latin Translator!'

# Start coding here!
original = raw_input("Enter a word") 
if len(original) > 0 and original.isalpha():
    print original
    print "empty"


Hi @vanillamushroom,

It probably doesn't matter at this point, but the prompt you have is slightly different from the one that Codecademy asked for in Exercise 3: Input!.

You have ...

original = raw_input("Enter a word")

Codecademy asked for ...

original = raw_input("Enter a word:")

... with a colon.

For some exercises, Codecademy is very strict, requiring the user to match exactly what the instructions specify.


okay thank you didnt notice that! And is that it?


The code looks good! :smile:


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