Please help: Check Yourself...Some More


#1

https://www.codecademy.com/courses/python-beginner-2W5v7/0/5?curriculum_id=4f89dab3d788890003000096#

Error message shows "Oops, try again. It looks like your code prints original (",090") when original includes non-alphabetical characters."

Thanks!


print 'Welcome to the Pig Latin Translator!'

original = raw_input ("Enter a word:")
print original

if len(original) > 0 and original.isalpha():
    print original
else:
    print "empty".


#2

You don't need the first print statement after user input.


#3

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