Word Up


When I input the word 'Hello', it's returning as 'Hello'. However, shouldn't it be returning as 'hello'? (all lowercase).

print 'Welcome to the Pig Latin Translator!'

# Start coding here!
original = raw_input("Enter a word:")

if len(original) > 0 and original.isalpha():
    word = original.lower()
    first = word[0]
    print original

    print "empty"


For that exercise is the correct, and expected result. :slight_smile:


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